[portal-commits] JBoss Portal SVN: r9075 - branches/presentation/presentation/src/main/org/jboss/portal/presentation/model.

portal-commits at lists.jboss.org portal-commits at lists.jboss.org
Thu Nov 22 08:27:44 EST 2007


Author: julien at jboss.com
Date: 2007-11-22 08:27:44 -0500 (Thu, 22 Nov 2007)
New Revision: 9075

Modified:
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIContext.java
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java
   branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIWindow.java
Log:
methods on interface are public implicitely, no need to be explicit

Modified: branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIContext.java
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIContext.java	2007-11-22 10:44:22 UTC (rev 9074)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIContext.java	2007-11-22 13:27:44 UTC (rev 9075)
@@ -36,11 +36,11 @@
     * @param id
     * @return
     */
-   public UIObject getObject(String id);
+   UIObject getObject(String id);
    
    /**
     * 
     * @return
     */
-   public ModelLoader getModelLoader();      
+   ModelLoader getModelLoader();      
 }

Modified: branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java	2007-11-22 10:44:22 UTC (rev 9074)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIObject.java	2007-11-22 13:27:44 UTC (rev 9075)
@@ -34,21 +34,21 @@
     * 
     * @return
     */
-   public String getId();
+   String getId();
    
    /**
     * 
     * @return
     */
-   public String getName();
+   String getName();
    
    /**
     * 
     * @return
     */
-   public UIObject getParent();
+   UIObject getParent();
 
-   public UIObject getChild(String name);
+   UIObject getChild(String name);
 
    /**
     * Create a child with a specified type.
@@ -70,7 +70,7 @@
     * 
     * @return
     */
-   public List<UIObject> getChildren();
+   List<UIObject> getChildren();
 
    /**
     * 
@@ -78,5 +78,5 @@
     * @param type
     * @return
     */
-   public <T extends UIObject> List<T> getChildren(Class<T> type);    
+   <T extends UIObject> List<T> getChildren(Class<T> type);    
 }

Modified: branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIWindow.java
===================================================================
--- branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIWindow.java	2007-11-22 10:44:22 UTC (rev 9074)
+++ branches/presentation/presentation/src/main/org/jboss/portal/presentation/model/UIWindow.java	2007-11-22 13:27:44 UTC (rev 9075)
@@ -35,27 +35,27 @@
     * 
     * @return
     */
-   public WindowState getWindowState();
+   WindowState getWindowState();
 
    /**
     * 
     * @param windowState
     */
-   public void setWindowState(WindowState windowState);
+   void setWindowState(WindowState windowState);
    
    /**
     * 
     * @return
     */
-   public Mode getMode();
+   Mode getMode();
 
    /**
     * 
     * @param mode
     */
-   public void setMode(Mode mode);
+   void setMode(Mode mode);
 
-   public Object getContentState();
+   Object getContentState();
 
    void setContentState(Object contentState);
 }




More information about the portal-commits mailing list