# 11/14/06 10:38:24 PM EET # Eclipse Java Compiler 0.658, 3.2.0 release candidate-1, Copyright IBM Corp 2000, 2006. All rights reserved. ---------- 1. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/JadFileDescriptor.java (at line 205) midletList.add(d); ^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList should be parameterized ---------- 2. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/JadFileDescriptor.java (at line 271) list.add(key); ^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList should be parameterized ---------- 3. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/JadFileDescriptor.java (at line 275) return (String[])list.toArray(keys); ^^^^^^^^^^^^^^^^^^ Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList should be parameterized ---------- 4. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/JadFileDescriptor.java (at line 321) set.add(((MIDletDescriptor)midletList.get(i)).classname); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 5. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/JadFileDescriptor.java (at line 369) midletList.add(i, d); ^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(int, Object) belongs to the raw type ArrayList. References to generic type ArrayList should be parameterized ---------- ---------- 6. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/MidletSearchEngine.java (at line 55) typesFound.add(thisType); ^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List should be parameterized ---------- ---------- 7. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 149) set.add((String) i.next()); ^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 8. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 249) contents.add(line); ^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type List. References to generic type List should be parameterized ---------- 9. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 252) contents.set(index, line); ^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method set(int, Object) belongs to the raw type List. References to generic type List should be parameterized ---------- 10. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 255) lookupMap.put(line.getKey(), line); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map should be parameterized ---------- 11. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 301) return lookupMap.keySet().containsAll(keys); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method containsAll(Collection) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 12. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/PropertyFile.java (at line 595) Set digits= new HashSet(Arrays.asList(digitSet)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The constructor HashSet(Collection) belongs to the raw type HashSet. References to generic type HashSet should be parameterized ---------- ---------- 13. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 42) fRequiredManifestMidletKeys.add(JadFileDescriptor.S_NAME); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 14. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 43) fRequiredManifestMidletKeys.add(JadFileDescriptor.S_VENDOR); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 15. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 44) fRequiredManifestMidletKeys.add(JadFileDescriptor.S_VERSION); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 16. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 45) fRequiredManifestMidletKeys.add(JadFileDescriptor.S_PROFILE_NAME); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 17. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 46) fRequiredManifestMidletKeys.add(JadFileDescriptor.S_CONFIGURATION_NAME); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 18. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 51) fManifestPrefixes.add(JadFileDescriptor.MIDLET_PREFIX); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 19. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 52) fManifestPrefixes.add(JadFileDescriptor.MICROEDITION_PREFIX); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 20. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 91) manifestPropFile.setProperty(JadFileDescriptor.S_CONFIGURATION_NAME, descriptor.CLDC10); ^^^^^^ The static field JadFileDescriptor.CLDC10 should be accessed in a static way ---------- 21. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 99) propertySet.addAll(fRequiredManifestMidletKeys); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method addAll(Collection) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 22. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 102) propertySet.add(JadFileDescriptor.getMIDletKey(i)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set should be parameterized ---------- 23. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 140) private static final String getSuiteName(IFile jadFile) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^ The method getSuiteName(IFile) from the type SynchronizeManifestFileToJad is never used locally ---------- 24. WARNING in /home/shji/mtj-build/S-0.7RC2/src/eclipse/plugins/org.eclipse.mtj.jad/src/org/eclipse/mtj/jad/util/SynchronizeManifestFileToJad.java (at line 214) result.put(key, manifest.getProperty(key)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap should be parameterized ---------- 24 problems (24 warnings)[10 .class files generated]