portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rwat...@apache.org
Subject svn commit: r1578736 - /portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java
Date Tue, 18 Mar 2014 04:20:36 GMT
Author: rwatler
Date: Tue Mar 18 04:20:36 2014
New Revision: 1578736

URL: http://svn.apache.org/r1578736
Log:
JS2-874: bug fix.

Modified:
    portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java?rev=1578736&r1=1578735&r2=1578736&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java
(original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-page-manager/src/main/java/org/apache/jetspeed/om/page/impl/PageMenuDefinitionList.java
Tue Mar 18 04:20:36 2014
@@ -158,11 +158,11 @@ class PageMenuDefinitionList extends Abs
     /* (non-Javadoc)
      * @see java.util.List#set(int,java.lang.Object)
      */
-    public MenuDefinition set(int index, Object element)
+    public MenuDefinition set(int index, MenuDefinition element)
     {
         // implement for modifiable AbstractList:
         // verify menu definition
-        PageMenuDefinitionImpl newDefinition = validateDefinitionForAdd((PageMenuDefinitionImpl)element);
+        PageMenuDefinitionImpl newDefinition = validateDefinitionForAdd(element);
         // set in underlying ordered list
         PageMenuDefinitionImpl definition = page.accessMenus().set(index, newDefinition);
         // save replaced element



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message