import org.osgi.framework.Bundle;\r
\r
/** Utilities, mostly related to logging. */\r
-@SuppressWarnings({ "rawtypes", "unchecked" })\r
public class OsgiBootUtils {\r
/** ISO8601 (as per log4j) and difference to UTC */\r
private static DateFormat dateFormat = new SimpleDateFormat(\r
*/\r
public static int compareVersions(String currentVersion,\r
String testedVersion) {\r
- List cToks = new ArrayList();\r
+ List<String> cToks = new ArrayList<String>();\r
StringTokenizer cSt = new StringTokenizer(currentVersion, ".");\r
while (cSt.hasMoreTokens())\r
cToks.add(cSt.nextToken());\r
- List tToks = new ArrayList();\r
+ List<String> tToks = new ArrayList<String>();\r
StringTokenizer tSt = new StringTokenizer(currentVersion, ".");\r
while (tSt.hasMoreTokens())\r
tToks.add(tSt.nextToken());\r