[pal-cvs 2234] [43] put generics.

Zurück zum Archiv-Index

svnno****@sourc***** svnno****@sourc*****
2007年 4月 13日 (金) 07:19:15 JST


Revision: 43
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=pal&view=rev&rev=43
Author:   shinsuke
Date:     2007-04-13 07:19:15 +0900 (Fri, 13 Apr 2007)

Log Message:
-----------
put generics.

Modified Paths:
--------------
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleConfigHandler.java
    pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleRepository.java


-------------- next part --------------
Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleConfigHandler.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleConfigHandler.java	2007-04-12 22:13:38 UTC (rev 42)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleConfigHandler.java	2007-04-12 22:19:15 UTC (rev 43)
@@ -218,7 +218,7 @@
     /**
      * @return the portletApplications
      */
-    public List getPortletApplications()
+    public List<PortletApplication> getPortletApplications()
     {
         return portletApplications;
     }

Modified: pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleRepository.java
===================================================================
--- pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleRepository.java	2007-04-12 22:13:38 UTC (rev 42)
+++ pal-admin/trunk/src/main/java/jp/sf/pal/admin/rpad/repository/impl/SimpleRepository.java	2007-04-12 22:19:15 UTC (rev 43)
@@ -47,7 +47,7 @@
 
     private String configPath;
 
-    private List portletApplications;
+    private List<PortletApplication> portletApplications;
 
     private boolean available;
 
@@ -87,14 +87,14 @@
                 {
                     log.debug("No portlet application.");
                 }
-                portletApplications = new ArrayList();
+                portletApplications = new ArrayList<PortletApplication>();
             }
             available = true;
         }
         catch (Exception e)
         {
             log.error("Could not load a repository.", e);
-            portletApplications = new ArrayList();
+            portletApplications = new ArrayList<PortletApplication>();
             available = false;
         }
     }
@@ -173,7 +173,7 @@
     /**
      * @return the portletApplications
      */
-    public List getPortletApplications()
+    public List<PortletApplication> getPortletApplications()
     {
         return portletApplications;
     }


pal-cvs メーリングリストの案内
Zurück zum Archiv-Index