errors | others warnings | forbidden warnings | discouraged warnings |
top | others warnings | forbidden warnings | discouraged warnings |
top | errors | forbidden warnings | discouraged warnings |
1. WARNING in /src/org/eclipse/core/internal/preferences/legacy/PreferenceForwarder.java (at line 843) for (Iterator i = props.keySet().iterator(); i.hasNext();) { Iterator is a raw type. References to generic type Iterator<E> should be parameterized |
1. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 41) private static Class authClass; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 48) private static Class getAuthClass() { Class is a raw type. References to generic type Class<T> should be parameterized |
3. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 77) ServiceReference[] refs = null; ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
4. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 86) Location configurationLocation = (Location) PlatformActivator.getContext().getService(refs[0]); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext |
5. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 86) Location configurationLocation = (Location) PlatformActivator.getContext().getService(refs[0]); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object> |
6. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 95) Constructor constructor = authClass.getConstructor(new Class[] {String.class, String.class}); Constructor is a raw type. References to generic type Constructor<T> should be parameterized |
7. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 104) Constructor constructor = authClass.getConstructor(new Class[] {String.class, String.class}); Constructor is a raw type. References to generic type Constructor<T> should be parameterized |
8. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 135) method.invoke(keyring, null); The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation |
9. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 169) public static synchronized void addAuthorizationInfo(URL serverUrl, String realm, String authScheme, Map info) throws CoreException { Map is a raw type. References to generic type Map<K,V> should be parameterized |
10. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 174) method.invoke(keyring, new Object[] {serverUrl, realm, authScheme, new HashMap(info)}); Type safety: The constructor HashMap(Map) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized |
11. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 174) method.invoke(keyring, new Object[] {serverUrl, realm, authScheme, new HashMap(info)}); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
12. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 262) public static synchronized Map getAuthorizationInfo(URL serverUrl, String realm, String authScheme) { Map is a raw type. References to generic type Map<K,V> should be parameterized |
13. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 263) Map info = null; Map is a raw type. References to generic type Map<K,V> should be parameterized |
14. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 269) info = (Map) method.invoke(keyring, new Object[] {serverUrl, realm, authScheme}); Map is a raw type. References to generic type Map<K,V> should be parameterized |
15. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 276) return info == null ? null : new HashMap(info); Type safety: The constructor HashMap(Map) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized |
16. WARNING in /src/org/eclipse/core/internal/runtime/AuthorizationHandler.java (at line 276) return info == null ? null : new HashMap(info); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
1. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 61) Class oldInternalPlatform = null; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 83) Method setPlugin = descriptor.getClass().getMethod("setActive", null); //$NON-NLS-1$ The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class<capture#3-of ? extends IPluginDescriptor>. It could alternatively be cast to Class for a varargs invocation |
3. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 84) setPlugin.invoke(descriptor, null); The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation |
4. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 97) Method setPlugin = descriptor.getClass().getMethod("hasPluginObject", null); //$NON-NLS-1$ The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class<capture#4-of ? extends IPluginDescriptor>. It could alternatively be cast to Class for a varargs invocation |
5. WARNING in /src/org/eclipse/core/internal/runtime/CompatibilityHelper.java (at line 98) result = (Boolean) setPlugin.invoke(descriptor, null); The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation |
1. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 63) private static Map logs = new HashMap(5); Map is a raw type. References to generic type Map<K,V> should be parameterized |
2. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 63) private static Map logs = new HashMap(5); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
3. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 92) private ServiceTracker configurationLocation = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
4. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 95) private Map groupProviders = new HashMap(3); Map is a raw type. References to generic type Map<K,V> should be parameterized |
5. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 95) private Map groupProviders = new HashMap(3); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
6. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 96) private ServiceTracker installLocation = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
7. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 97) private ServiceTracker instanceLocation = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
8. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 101) private ServiceRegistration legacyPreferencesService = null; ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
9. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 102) private ServiceRegistration customPreferencesService = null; ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
10. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 104) private ServiceTracker environmentTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
11. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 105) private ServiceTracker logTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
12. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 106) private ServiceTracker bundleTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
13. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 107) private ServiceTracker debugTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
14. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 108) private ServiceTracker contentTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
15. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 109) private ServiceTracker preferencesTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
16. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 110) private ServiceTracker userLocation = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
17. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 111) private ServiceTracker groupProviderTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
18. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 112) private ServiceTracker logReaderTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
19. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 113) private ServiceTracker extendedLogTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
20. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 225) ServiceRegistration registration = getBundleContext().registerService(IBundleGroupProvider.class.getName(), provider, null); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
21. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 228) groupProviders.put(provider, registration); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
22. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 234) ServiceRegistration registration; ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
23. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 236) registration = (ServiceRegistration) groupProviders.remove(provider); ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized |
24. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 359) logs.put(bundle, result); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
25. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 410) ServiceReference platformAdminReference = context.getServiceReference(PlatformAdmin.class.getName()); ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
26. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 413) return (PlatformAdmin) context.getService(platformAdminReference); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext |
27. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 413) return (PlatformAdmin) context.getService(platformAdminReference); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object> |
28. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 520) ServiceReference[] ref; ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
29. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 529) IApplicationContext result = (IApplicationContext) context.getService(ref[0]); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext |
30. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 529) IApplicationContext result = (IApplicationContext) context.getService(ref[0]); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object> |
31. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 670) Vector result = new Vector(5); Vector is a raw type. References to generic type Vector<E> should be parameterized |
32. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 670) Vector result = new Vector(5); Vector is a raw type. References to generic type Vector<E> should be parameterized |
33. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 671) for (Enumeration groups = ini.propertyNames(); groups.hasMoreElements();) { Enumeration is a raw type. References to generic type Enumeration<E> should be parameterized |
34. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 677) result.addElement(new URL(entry)); Type safety: The method addElement(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized |
35. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 684) return (URL[]) result.toArray(new URL[result.size()]); Type safety: The method toArray(Object[]) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized |
36. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 750) instanceLocation = new ServiceTracker(context, filter, null); Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
37. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 750) instanceLocation = new ServiceTracker(context, filter, null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
38. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 758) userLocation = new ServiceTracker(context, filter, null); Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
39. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 758) userLocation = new ServiceTracker(context, filter, null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
40. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 766) configurationLocation = new ServiceTracker(context, filter, null); Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
41. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 766) configurationLocation = new ServiceTracker(context, filter, null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
42. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 774) installLocation = new ServiceTracker(context, filter, null); Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
43. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 774) installLocation = new ServiceTracker(context, filter, null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
44. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 778) logTracker = new ServiceTracker(context, FrameworkLog.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
45. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 778) logTracker = new ServiceTracker(context, FrameworkLog.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
46. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 783) bundleTracker = new ServiceTracker(context, PackageAdmin.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
47. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 783) bundleTracker = new ServiceTracker(context, PackageAdmin.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
48. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 788) contentTracker = new ServiceTracker(context, IContentTypeManager.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
49. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 788) contentTracker = new ServiceTracker(context, IContentTypeManager.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
50. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 793) preferencesTracker = new ServiceTracker(context, IPreferencesService.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
51. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 793) preferencesTracker = new ServiceTracker(context, IPreferencesService.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
52. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 802) groupProviderTracker = new ServiceTracker(context, filter, null); Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
53. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 802) groupProviderTracker = new ServiceTracker(context, filter, null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
54. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 805) logReaderTracker = new ServiceTracker(context, ExtendedLogReaderService.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
55. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 805) logReaderTracker = new ServiceTracker(context, ExtendedLogReaderService.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
56. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 808) extendedLogTracker = new ServiceTracker(context, ExtendedLogService.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
57. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 808) extendedLogTracker = new ServiceTracker(context, ExtendedLogService.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
58. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 811) environmentTracker = new ServiceTracker(context, EnvironmentInfo.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
59. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 811) environmentTracker = new ServiceTracker(context, EnvironmentInfo.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
60. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 814) debugTracker = new ServiceTracker(context, DebugOptions.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
61. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 814) debugTracker = new ServiceTracker(context, DebugOptions.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
62. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 821) customPreferencesService = context.registerService(IProductPreferencesService.class.getName(), new ProductPreferencesService(), new Hashtable()); Type safety: The expression of type Hashtable needs unchecked conversion to conform to Dictionary<String,?> |
63. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 821) customPreferencesService = context.registerService(IProductPreferencesService.class.getName(), new ProductPreferencesService(), new Hashtable()); Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized |
64. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 826) legacyPreferencesService = context.registerService(ILegacyPreferences.class.getName(), new InitLegacyPreferences(), new Hashtable()); Type safety: The expression of type Hashtable needs unchecked conversion to conform to Dictionary<String,?> |
65. WARNING in /src/org/eclipse/core/internal/runtime/InternalPlatform.java (at line 826) legacyPreferencesService = context.registerService(ILegacyPreferences.class.getName(), new InitLegacyPreferences(), new Hashtable()); Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized |
1. WARNING in /src/org/eclipse/core/internal/runtime/Log.java (at line 26) private final Set logListeners = new HashSet(5); Set is a raw type. References to generic type Set<E> should be parameterized |
2. WARNING in /src/org/eclipse/core/internal/runtime/Log.java (at line 26) private final Set logListeners = new HashSet(5); HashSet is a raw type. References to generic type HashSet<E> should be parameterized |
3. WARNING in /src/org/eclipse/core/internal/runtime/Log.java (at line 43) logListeners.add(listener); Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set<E> should be parameterized |
4. WARNING in /src/org/eclipse/core/internal/runtime/Log.java (at line 85) listeners = (ILogListener[]) logListeners.toArray(new ILogListener[logListeners.size()]); Type safety: The method toArray(Object[]) belongs to the raw type Set. References to generic type Set<E> should be parameterized |
1. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 36) private final ArrayList changes = new ArrayList(); ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized |
2. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 36) private final ArrayList changes = new ArrayList(); ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized |
3. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 42) private final HashMap failures = new HashMap(); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
4. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 42) private final HashMap failures = new HashMap(); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
5. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 65) instance.changes.add(stats); Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized |
6. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 80) instance.failures.put(stats, new Long(elapsed)); Type safety: The method put(Object, Object) belongs to the raw type HashMap. References to generic type HashMap<K,V> should be parameterized |
7. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 150) ServiceReference[] references; ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized |
8. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 156) perfLog = (FrameworkLog) context.getService(references[0]); Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext |
9. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 156) perfLog = (FrameworkLog) context.getService(references[0]); Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object> |
10. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 195) events = (PerformanceStats[]) changes.toArray(new PerformanceStats[changes.size()]); Type safety: The method toArray(Object[]) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized |
11. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 197) failedEvents = (PerformanceStats[]) failures.keySet().toArray(new PerformanceStats[failures.size()]); Type safety: The method toArray(Object[]) belongs to the raw type Set. References to generic type Set<E> should be parameterized |
12. WARNING in /src/org/eclipse/core/internal/runtime/PerformanceStatsProcessor.java (at line 198) failedTimes = (Long[]) failures.values().toArray(new Long[failures.size()]); Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized |
1. WARNING in /src/org/eclipse/core/runtime/IPluginDescriptor.java (at line 522) public URL find(IPath path, Map override); Map is a raw type. References to generic type Map<K,V> should be parameterized |
1. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 107) private final static Map statMap = Collections.synchronizedMap(new HashMap()); Map is a raw type. References to generic type Map<K,V> should be parameterized |
2. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 107) private final static Map statMap = Collections.synchronizedMap(new HashMap()); Type safety: Unchecked invocation synchronizedMap(HashMap) of the generic method synchronizedMap(Map<K,V>) of type Collections |
3. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 107) private final static Map statMap = Collections.synchronizedMap(new HashMap()); Type safety: The expression of type HashMap needs unchecked conversion to conform to Map<Object,Object> |
4. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 107) private final static Map statMap = Collections.synchronizedMap(new HashMap()); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
5. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 113) private final static Map thresholdMap = Collections.synchronizedMap(new HashMap()); Map is a raw type. References to generic type Map<K,V> should be parameterized |
6. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 113) private final static Map thresholdMap = Collections.synchronizedMap(new HashMap()); Type safety: Unchecked invocation synchronizedMap(HashMap) of the generic method synchronizedMap(Map<K,V>) of type Collections |
7. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 113) private final static Map thresholdMap = Collections.synchronizedMap(new HashMap()); Type safety: The expression of type HashMap needs unchecked conversion to conform to Map<Object,Object> |
8. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 113) private final static Map thresholdMap = Collections.synchronizedMap(new HashMap()); HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized |
9. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 198) return (PerformanceStats[]) statMap.values().toArray(new PerformanceStats[statMap.values().size()]); Type safety: The method toArray(Object[]) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized |
10. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 224) statMap.put(newStats, newStats); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
11. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 290) for (Iterator it = statMap.keySet().iterator(); it.hasNext();) { Iterator is a raw type. References to generic type Iterator<E> should be parameterized |
12. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 347) statMap.put(failedStat, failedStat); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
13. WARNING in /src/org/eclipse/core/runtime/PerformanceStats.java (at line 463) thresholdMap.put(eventName, value); Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
1. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 478) public static void addAuthorizationInfo(URL serverUrl, String realm, String authScheme, Map info) throws CoreException { Map is a raw type. References to generic type Map<K,V> should be parameterized |
2. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 621) public static Map getAuthorizationInfo(URL serverUrl, String realm, String authScheme) { Map is a raw type. References to generic type Map<K,V> should be parameterized |
3. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 756) Class oldInternalPlatform = null; Class is a raw type. References to generic type Class<T> should be parameterized |
4. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 759) Method getPluginRegistry = oldInternalPlatform.getMethod("getPluginRegistry", null); //$NON-NLS-1$ The argument of type null should explicitly be cast to Class[] for the invocation of the varargs method getMethod(String, Class...) from type Class. It could alternatively be cast to Class for a varargs invocation |
5. WARNING in /src/org/eclipse/core/runtime/Platform.java (at line 760) return (IPluginRegistry) getPluginRegistry.invoke(oldInternalPlatform, null); The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation |
1. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 138) private ServiceTracker debugTracker = null; ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
2. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 263) public final URL find(IPath path, Map override) { Map is a raw type. References to generic type Map<K,V> should be parameterized |
3. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 583) debugTracker = new ServiceTracker(context, DebugOptions.class.getName(), null); Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized |
4. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 583) debugTracker = new ServiceTracker(context, DebugOptions.class.getName(), null); ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized |
5. WARNING in /src/org/eclipse/core/runtime/Plugin.java (at line 631) m.invoke(descriptor, null); The argument of type null should explicitly be cast to Object[] for the invocation of the varargs method invoke(Object, Object...) from type Method. It could alternatively be cast to Object for a varargs invocation |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |