Revision: 811
          http://stripes.svn.sourceforge.net/stripes/?rev=811&view=rev
Author:   bengunter
Date:     2008-01-28 19:23:38 -0800 (Mon, 28 Jan 2008)

Log Message:
-----------
Added type params and removed @SuppressWarnings on getClassPropertyList(String)

Modified Paths:
--------------
    
trunk/stripes/src/net/sourceforge/stripes/config/BootstrapPropertyResolver.java

Modified: 
trunk/stripes/src/net/sourceforge/stripes/config/BootstrapPropertyResolver.java
===================================================================
--- 
trunk/stripes/src/net/sourceforge/stripes/config/BootstrapPropertyResolver.java 
    2008-01-28 14:19:16 UTC (rev 810)
+++ 
trunk/stripes/src/net/sourceforge/stripes/config/BootstrapPropertyResolver.java 
    2008-01-29 03:23:38 UTC (rev 811)
@@ -140,10 +140,9 @@
      * @param paramName the parameter to look for in web.xml
      * @return a List of classes found
      */
-    @SuppressWarnings("unchecked")
-    public List<Class> getClassPropertyList(String paramName)
+    public List<Class<?>> getClassPropertyList(String paramName)
     {
-        List<Class> classes = new ArrayList<Class>();
+        List<Class<?>> classes = new ArrayList<Class<?>>();
 
         String classList = getProperty(paramName);
 
@@ -156,10 +155,9 @@
                 }
                 catch (ClassNotFoundException e) {
                     throw new StripesRuntimeException("Could not find 
configured Interceptor ["
-                            + className + "]. The " + "property '" + paramName
-                            + "' contained [" + classList
-                            + "]. This value must contain fully qualified 
class names separated "
-                            + "by commas.");
+                            + className + "]. The " + "property '" + paramName 
+ "' contained ["
+                            + classList + "]. This value must contain fully 
qualified class names "
+                            + "separated by commas.");
                 }
             }
         }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to