From: <st...@us...> - 2008-05-28 15:40:01
|
Revision: 6569 http://smartfrog.svn.sourceforge.net/smartfrog/?rev=6569&view=rev Author: steve_l Date: 2008-05-28 08:38:24 -0700 (Wed, 28 May 2008) Log Message: ----------- suppress compiler warnings Modified Paths: -------------- trunk/core/components/junit/src/org/smartfrog/services/junit/junit3/JUnit3TestSuiteImpl.java Modified: trunk/core/components/junit/src/org/smartfrog/services/junit/junit3/JUnit3TestSuiteImpl.java =================================================================== --- trunk/core/components/junit/src/org/smartfrog/services/junit/junit3/JUnit3TestSuiteImpl.java 2008-05-28 14:50:59 UTC (rev 6568) +++ trunk/core/components/junit/src/org/smartfrog/services/junit/junit3/JUnit3TestSuiteImpl.java 2008-05-28 15:38:24 UTC (rev 6569) @@ -118,11 +118,14 @@ * @throws SmartFrogException on trouble * @throws RemoteException on trouble */ + @SuppressWarnings("unchecked") protected void readConfiguration() throws SmartFrogException, RemoteException { ifValue = sfResolve(ATTR_IF, ifValue, false); unlessValue = sfResolve(ATTR_UNLESS, unlessValue, false); - List nestedClasses = (List) sfResolve(ATTR_CLASSES, + + List nestedClasses; + nestedClasses = (List) sfResolve(ATTR_CLASSES, (List) null, false); classes = ListUtils.flattenStringList(nestedClasses, @@ -420,7 +423,7 @@ * @param context context to inject */ private void injectTestContext(TestSuite tests, HashMap<String, Object> context) { - Enumeration t = tests.tests(); + Enumeration<?> t = tests.tests(); while (t.hasMoreElements()) { Test test = (Test) t.nextElement(); injectTestContext(test, context); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |