put generics.
@@ -47,7 +47,7 @@ | ||
47 | 47 | |
48 | 48 | private String configPath; |
49 | 49 | |
50 | - private List portletApplications; | |
50 | + private List<PortletApplication> portletApplications; | |
51 | 51 | |
52 | 52 | private boolean available; |
53 | 53 |
@@ -87,7 +87,7 @@ | ||
87 | 87 | { |
88 | 88 | log.debug("No portlet application."); |
89 | 89 | } |
90 | - portletApplications = new ArrayList(); | |
90 | + portletApplications = new ArrayList<PortletApplication>(); | |
91 | 91 | } |
92 | 92 | available = true; |
93 | 93 | } |
@@ -94,7 +94,7 @@ | ||
94 | 94 | catch (Exception e) |
95 | 95 | { |
96 | 96 | log.error("Could not load a repository.", e); |
97 | - portletApplications = new ArrayList(); | |
97 | + portletApplications = new ArrayList<PortletApplication>(); | |
98 | 98 | available = false; |
99 | 99 | } |
100 | 100 | } |
@@ -173,7 +173,7 @@ | ||
173 | 173 | /** |
174 | 174 | * @return the portletApplications |
175 | 175 | */ |
176 | - public List getPortletApplications() | |
176 | + public List<PortletApplication> getPortletApplications() | |
177 | 177 | { |
178 | 178 | return portletApplications; |
179 | 179 | } |
@@ -218,7 +218,7 @@ | ||
218 | 218 | /** |
219 | 219 | * @return the portletApplications |
220 | 220 | */ |
221 | - public List getPortletApplications() | |
221 | + public List<PortletApplication> getPortletApplications() | |
222 | 222 | { |
223 | 223 | return portletApplications; |
224 | 224 | } |