Compiler log for org.eclipse.equinox.app_1.7.200.v20240722-2103 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 264, INFOS: 0

errors others warnings infos forbidden warnings discouraged warnings

ERRORS

top others warnings infos forbidden warnings discouraged warnings

OTHER WARNINGS

top errors infos forbidden warnings discouraged warnings

/osgi/org/osgi/service/application/ApplicationAdminPermission.java : 39 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 48)
public static final String LIFECYCLE_ACTION = "lifecycle";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 56)
public static final String SCHEDULE_ACTION = "schedule";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 61)
public static final String LOCK_ACTION = "lock";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 100)
super(filter == null ? "*" : filter);
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 103)
filter = "*";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 106)
throw new NullPointerException( "Action string cannot be null!" );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 109)
this.filter = (filter == null ? "*" : filter);
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 112)
if( !filter.equals( "*" ) && !filter.equals( "<<SELF>>" ) )
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 112)
if( !filter.equals( "*" ) && !filter.equals( "<<SELF>>" ) )
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 128)
throw new NullPointerException( "ApplicationDescriptor and action string cannot be null!" );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
11. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 193)
if( !filter.equals("*") ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
12. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 197)
if( filter.equals( "<<SELF>>") ) {
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
13. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 205)
Hashtable props = new Hashtable();
Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized
14. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 205)
Hashtable props = new Hashtable();
Hashtable is a raw type. References to generic type Hashtable<K,V> should be parameterized
15. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 206)
props.put( "pid", other.applicationDescriptor.getApplicationId() );
Type safety: The method put(Object, Object) belongs to the raw type Hashtable. References to generic type Hashtable<K,V> should be parameterized
16. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 206)
props.put( "pid", other.applicationDescriptor.getApplicationId() );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
17. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 207)
props.put( "signer", new SignerWrapper( other.applicationDescriptor ) );
Type safety: The method put(Object, Object) belongs to the raw type Hashtable. References to generic type Hashtable<K,V> should be parameterized
18. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 207)
props.put( "signer", new SignerWrapper( other.applicationDescriptor ) );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
19. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 213)
if( !flt.match( props ) )
Type safety: The expression of type Hashtable needs unchecked conversion to conform to Dictionary<String,?>
20. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 218)
if( !actionsVector.containsAll( other.actionsVector ) )
Type safety: The method containsAll(Collection) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
21. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 283)
private static final Vector ACTIONS = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
22. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 283)
private static final Vector ACTIONS = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
23. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 284)
private Vector actionsVector;
Vector is a raw type. References to generic type Vector<E> should be parameterized
24. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 290)
ACTIONS.add(LIFECYCLE_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
25. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 291)
ACTIONS.add(SCHEDULE_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
26. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 292)
ACTIONS.add(LOCK_ACTION);
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
27. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 295)
private static Vector actionsVector(String actions) {
Vector is a raw type. References to generic type Vector<E> should be parameterized
28. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 296)
Vector v = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
29. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 296)
Vector v = new Vector();
Vector is a raw type. References to generic type Vector<E> should be parameterized
30. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 297)
StringTokenizer t = new StringTokenizer(actions.toUpperCase(), ",");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
31. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 300)
v.add(action.toLowerCase());
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
32. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 304)
v.add( LIFECYCLE_ACTION );
Type safety: The method add(Object) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
33. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 317)
public SignerWrapper(String pattern) {
The constructor ApplicationAdminPermission.SignerWrapper(String) is never used locally
34. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 330)
ApplicationDescriptor matchAppDesc = (ApplicationDescriptor) (appDesc != null ? appDesc : other.appDesc);
Unnecessary cast from ApplicationDescriptor to ApplicationDescriptor
35. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 339)
if ( actions.equals("*") )
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
36. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 340)
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
37. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 340)
actionsVector = actionsVector( LIFECYCLE_ACTION + "," + SCHEDULE_ACTION + "," + LOCK_ACTION );
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
38. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 341)
else if (!ACTIONS.containsAll(actionsVector))
Type safety: The method containsAll(Collection) belongs to the raw type Vector. References to generic type Vector<E> should be parameterized
39. WARNING in /osgi/org/osgi/service/application/ApplicationAdminPermission.java
 (at line 342)
throw new IllegalArgumentException("Illegal action!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$

/osgi/org/osgi/service/application/ApplicationDescriptor.java : 62 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 45)
public static final String APPLICATION_NAME = "application.name";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 50)
public static final String APPLICATION_ICON = "application.icon";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 60)
public static final String APPLICATION_VERSION = "application.version";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 70)
public static final String APPLICATION_VISIBLE = "application.visible";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 75)
public static final String APPLICATION_LAUNCHABLE = "application.launchable";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 80)
public static final String APPLICATION_LOCKED = "application.locked";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 85)
public static final String APPLICATION_DESCRIPTION = "application.description";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 90)
public static final String APPLICATION_DOCUMENTATION = "application.documentation";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 95)
public static final String APPLICATION_COPYRIGHT = "application.copyright";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 100)
public static final String APPLICATION_LICENSE = "application.license";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
11. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 105)
public static final String APPLICATION_CONTAINER = "application.container";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
12. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 110)
public static final String APPLICATION_LOCATION = "application.location";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
13. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 128)
throw new NullPointerException("Application ID must not be null!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
14. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 196)
public final Map getProperties(String locale) {
Map is a raw type. References to generic type Map<K,V> should be parameterized
15. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 197)
Map props = getPropertiesSpecific(locale);
Map is a raw type. References to generic type Map<K,V> should be parameterized
16. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 208)
props.put(APPLICATION_LOCKED, Boolean.valueOf(locked[0]));
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
17. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 242)
protected abstract Map getPropertiesSpecific(String locale);
Map is a raw type. References to generic type Map<K,V> should be parameterized
18. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 299)
public final ApplicationHandle launch(Map arguments) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
19. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 300)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
20. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 300)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
21. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 302)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LIFECYCLE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
22. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 305)
throw new ApplicationException(ApplicationException.APPLICATION_LOCKED, "Application is locked, can't launch!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
23. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 308)
throw new ApplicationException(ApplicationException.APPLICATION_NOT_LAUNCHABLE, "Cannot launch the application!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
24. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 342)
protected abstract ApplicationHandle launchSpecific(Map arguments) throws Exception;
Map is a raw type. References to generic type Map<K,V> should be parameterized
25. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 416)
public final ScheduledApplication schedule(String scheduleId, Map arguments, String topic, String eventFilter, boolean recurring) throws InvalidSyntaxException, ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
26. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 417)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
27. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 417)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
28. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 419)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.SCHEDULE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
29. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 422)
return AppPersistence.addScheduledApp(this, scheduleId, arguments, topic, eventFilter, recurring);
Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object>
30. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 437)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
31. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 437)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
32. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 439)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LOCK_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
33. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 468)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
34. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 468)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
35. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 470)
sm.checkPermission(new ApplicationAdminPermission(this, ApplicationAdminPermission.LOCK_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated
36. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 490)
private void saveLock(boolean locked) {
The parameter locked is hiding a field from type ApplicationDescriptor
37. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 498)
private static final Collection scalars = Arrays.asList(new Class[] {String.class, Integer.class, Long.class, Float.class, Double.class, Byte.class, Short.class, Character.class, Boolean.class});
Collection is a raw type. References to generic type Collection<E> should be parameterized
38. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 499)
private static final Collection scalarsArrays = Arrays.asList(new Class[] {String[].class, Integer[].class, Long[].class, Float[].class, Double[].class, Byte[].class, Short[].class, Character[].class, Boolean[].class});
Collection is a raw type. References to generic type Collection<E> should be parameterized
39. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 500)
private static final Collection primitiveArrays = Arrays.asList(new Class[] {long[].class, int[].class, short[].class, char[].class, byte[].class, double[].class, float[].class, boolean[].class});
Collection is a raw type. References to generic type Collection<E> should be parameterized
40. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 502)
private static Map checkArgs(Map arguments, boolean validateValues) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
41. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 502)
private static Map checkArgs(Map arguments, boolean validateValues) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
42. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 505)
Map copy = validateValues ? new HashMap() : null;
Map is a raw type. References to generic type Map<K,V> should be parameterized
43. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 505)
Map copy = validateValues ? new HashMap() : null;
HashMap is a raw type. References to generic type HashMap<K,V> should be parameterized
44. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 506)
for (Iterator entries = arguments.entrySet().iterator(); entries.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
45. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 507)
Map.Entry entry = (Entry) entries.next();
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
46. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 507)
Map.Entry entry = (Entry) entries.next();
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
47. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 509)
throw new IllegalArgumentException("Invalid key type: " + entry.getKey() == null ? "<null>" : entry.getKey().getClass().getName());
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
48. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 509)
throw new IllegalArgumentException("Invalid key type: " + entry.getKey() == null ? "<null>" : entry.getKey().getClass().getName());
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
49. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 511)
throw new IllegalArgumentException("Empty string is an invalid key");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
50. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 518)
private static void validateValue(Map.Entry entry, Map copy) throws ApplicationException {
Map.Entry is a raw type. References to generic type Map.Entry<K,V> should be parameterized
51. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 518)
private static void validateValue(Map.Entry entry, Map copy) throws ApplicationException {
Map is a raw type. References to generic type Map<K,V> should be parameterized
52. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 519)
Class clazz = entry.getValue().getClass();
Class is a raw type. References to generic type Class<T> should be parameterized
53. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 523)
copy.put(entry.getKey(), entry.getValue());
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
54. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 532)
copy.put(entry.getKey(), copyOfArray);
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
55. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 538)
Collection valueCollection = (Collection) entry.getValue();
Collection is a raw type. References to generic type Collection<E> should be parameterized
56. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 538)
Collection valueCollection = (Collection) entry.getValue();
Collection is a raw type. References to generic type Collection<E> should be parameterized
57. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 539)
for (Iterator it = valueCollection.iterator(); it.hasNext();) {
Iterator is a raw type. References to generic type Iterator<E> should be parameterized
58. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 540)
Class containedClazz = it.next().getClass();
Class is a raw type. References to generic type Class<T> should be parameterized
59. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 545)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Type safety: The method put(Object, Object) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized
60. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 545)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Type safety: The constructor ArrayList(Collection) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized
61. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 545)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized
62. WARNING in /osgi/org/osgi/service/application/ApplicationDescriptor.java
 (at line 545)
copy.put(entry.getKey(), new ArrayList((Collection) entry.getValue()));
Collection is a raw type. References to generic type Collection<E> should be parameterized

/osgi/org/osgi/service/application/ApplicationHandle.java : 9 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 46)
public final static String APPLICATION_DESCRIPTOR = "application.descriptor";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 51)
public final static String APPLICATION_STATE = "application.state";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 59)
public final static String APPLICATION_SUPPORTS_EXITVALUE = "application.supports.exitvalue";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 65)
public final static String RUNNING = "RUNNING";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 72)
public final static String STOPPING = "STOPPING";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 104)
throw new NullPointerException("Parameters must not be null!");
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 212)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
8. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 212)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
9. WARNING in /osgi/org/osgi/service/application/ApplicationHandle.java
 (at line 214)
sm.checkPermission(new ApplicationAdminPermission(getApplicationDescriptor(), ApplicationAdminPermission.LIFECYCLE_ACTION));
The method checkPermission(Permission) from the type SecurityManager is deprecated

/osgi/org/osgi/service/application/ScheduledApplication.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 48)
public static final String SCHEDULE_ID = "schedule.id";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
2. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 57)
public static final String TRIGGERING_EVENT = "org.osgi.triggeringevent";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
3. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 63)
public static final String TIMER_TOPIC = "org/osgi/application/timer";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
4. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 69)
public static final String YEAR = "year";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
5. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 75)
public static final String MONTH = "month";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
6. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 81)
public static final String DAY_OF_MONTH = "day_of_month";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
7. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 87)
public static final String DAY_OF_WEEK = "day_of_week";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
8. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 93)
public static final String HOUR_OF_DAY = "hour_of_day";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
9. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 99)
public static final String MINUTE = "minute";
Non-externalized string literal; it should be followed by //$NON-NLS-<n>$
10. WARNING in /osgi/org/osgi/service/application/ScheduledApplication.java
 (at line 163)
public Map getArguments();
Map is a raw type. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/equinox/app/IApplicationContext.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/app/IApplicationContext.java
 (at line 88)
public Map getArguments();
Map is a raw type. References to generic type Map<K,V> should be parameterized

/src/org/eclipse/equinox/internal/app/Activator.java : 43 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 31)
public class Activator implements BundleActivator, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 37)
private volatile static PackageAdmin _packageAdmin;
The type PackageAdmin is deprecated
3. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 40)
private volatile static ServiceTracker _frameworkLogTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 42)
private ServiceTracker registryTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 50)
ServiceReference ref = bc.getServiceReference(PackageAdmin.class.getName());
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 50)
ServiceReference ref = bc.getServiceReference(PackageAdmin.class.getName());
The type PackageAdmin is deprecated
7. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 52)
_packageAdmin = (PackageAdmin) bc.getService(ref);
The type PackageAdmin is deprecated
8. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 52)
_packageAdmin = (PackageAdmin) bc.getService(ref);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
9. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 52)
_packageAdmin = (PackageAdmin) bc.getService(ref);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
10. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 53)
_frameworkLogTracker = new ServiceTracker(bc, 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
11. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 53)
_frameworkLogTracker = new ServiceTracker(bc, FrameworkLog.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
12. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 60)
registryTracker = new ServiceTracker(bc, IExtensionRegistry.class.getName(), this);
Type safety: The constructor ServiceTracker(BundleContext, String, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 60)
registryTracker = new ServiceTracker(bc, IExtensionRegistry.class.getName(), this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 92)
ServiceReference debugRef = context.getServiceReference(DebugOptions.class.getName());
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
15. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 95)
DebugOptions debugOptions = (DebugOptions) context.getService(debugRef);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
16. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 95)
DebugOptions debugOptions = (DebugOptions) context.getService(debugRef);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
17. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 104)
ServiceReference infoRef = bc.getServiceReference(EnvironmentInfo.class.getName());
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
18. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 107)
EnvironmentInfo envInfo = (EnvironmentInfo) bc.getService(infoRef);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
19. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 107)
EnvironmentInfo envInfo = (EnvironmentInfo) bc.getService(infoRef);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
20. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 132)
service = context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
21. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 176)
static void openTracker(final ServiceTracker tracker, final boolean allServices) {
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
22. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 177)
if (System.getSecurityManager() == null)
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
23. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 180)
AccessController.doPrivileged(new PrivilegedAction() {
The type AccessController has been deprecated since version 17 and marked for removal
24. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 180)
AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { tracker.open(allServices); return null; } });
Type safety: Unchecked invocation doPrivileged(new PrivilegedAction(){}) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
25. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 180)
AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { tracker.open(allServices); return null; } });
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
26. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 180)
AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { tracker.open(allServices); return null; } });
Type safety: The expression of type new PrivilegedAction(){} needs unchecked conversion to conform to PrivilegedAction<Object>
27. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 180)
AccessController.doPrivileged(new PrivilegedAction() {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
28. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 190)
static Object getService(final ServiceTracker tracker) {
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
29. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 191)
if (System.getSecurityManager() == null)
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
30. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 193)
return AccessController.doPrivileged(new PrivilegedAction() {
The type AccessController has been deprecated since version 17 and marked for removal
31. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 193)
return AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return tracker.getService(); } });
Type safety: Unchecked invocation doPrivileged(new PrivilegedAction(){}) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
32. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 193)
return AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return tracker.getService(); } });
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
33. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 193)
return AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return tracker.getService(); } });
Type safety: The expression of type new PrivilegedAction(){} needs unchecked conversion to conform to PrivilegedAction<Object>
34. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 193)
return AccessController.doPrivileged(new PrivilegedAction() {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
35. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 203)
if (System.getSecurityManager() == null)
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
36. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 205)
return (String) AccessController.doPrivileged(new PrivilegedAction() {
The type AccessController has been deprecated since version 17 and marked for removal
37. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 205)
return (String) AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return bundle.getLocation(); } });
Type safety: Unchecked invocation doPrivileged(new PrivilegedAction(){}) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
38. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 205)
return (String) AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return bundle.getLocation(); } });
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
39. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 205)
return (String) AccessController.doPrivileged(new PrivilegedAction() { @Override public Object run() { return bundle.getLocation(); } });
Type safety: The expression of type new PrivilegedAction(){} needs unchecked conversion to conform to PrivilegedAction<Object>
40. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 205)
return (String) AccessController.doPrivileged(new PrivilegedAction() {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
41. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 225)
PackageAdmin packageAdmin = _packageAdmin;
The type PackageAdmin is deprecated
42. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 228)
Bundle[] bundles = packageAdmin.getBundles(contributor.getName(), null);
The method getBundles(String, String) from the type PackageAdmin is deprecated
43. WARNING in /src/org/eclipse/equinox/internal/app/Activator.java
 (at line 249)
ServiceTracker frameworkLogTracker = _frameworkLogTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized

/src/org/eclipse/equinox/internal/app/AppCommands.java : 37 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 39)
private ServiceTracker applicationDescriptors;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 40)
private ServiceTracker applicationHandles;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 41)
private ServiceTracker scheduledApplications;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 45)
private ServiceRegistration providerRegistration;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 68)
applicationDescriptors = new ServiceTracker(ctx, ApplicationDescriptor.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
6. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 68)
applicationDescriptors = new ServiceTracker(ctx, ApplicationDescriptor.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 70)
applicationHandles = new ServiceTracker(ctx, ApplicationHandle.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
8. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 70)
applicationHandles = new ServiceTracker(ctx, ApplicationHandle.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
9. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 72)
scheduledApplications = new ServiceTracker(ctx, ScheduledApplication.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
10. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 72)
scheduledApplications = new ServiceTracker(ctx, ScheduledApplication.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
11. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 187)
private Dictionary<String, Object> getServiceProps(ServiceReference ref) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
12. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 197)
ServiceReference[] apps = applicationDescriptors.getServiceReferences();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 202)
for (ServiceReference app : apps) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 226)
ServiceReference[] active = applicationHandles.getServiceReferences();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
15. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 231)
for (ServiceReference r : active) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
16. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 239)
private ServiceReference getApplication(ServiceReference[] apps, String targetId, String idKey,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
17. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 239)
private ServiceReference getApplication(ServiceReference[] apps, String targetId, String idKey,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
18. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 244)
ServiceReference result = null;
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
19. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 246)
for (ServiceReference app : apps) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
20. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 264)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
21. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 278)
ApplicationDescriptor appDesc = (context.<ApplicationDescriptor>getService(application));
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
22. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 278)
ApplicationDescriptor appDesc = (context.<ApplicationDescriptor>getService(application));
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<ApplicationDescriptor>
23. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 291)
ServiceReference application = getApplication(applicationHandles.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
24. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 301)
ApplicationHandle appHandle = (ApplicationHandle) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
25. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 301)
ApplicationHandle appHandle = (ApplicationHandle) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
26. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 317)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
27. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 323)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
28. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 323)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
29. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 335)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
30. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 341)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
31. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 341)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
32. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 353)
ServiceReference application = getApplication(applicationDescriptors.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
33. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 359)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
34. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 359)
ApplicationDescriptor appDesc = (ApplicationDescriptor) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
35. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 373)
ServiceReference application = getApplication(scheduledApplications.getServiceReferences(), appId,
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
36. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 379)
ScheduledApplication schedApp = (ScheduledApplication) context.getService(application);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
37. WARNING in /src/org/eclipse/equinox/internal/app/AppCommands.java
 (at line 379)
ScheduledApplication schedApp = (ScheduledApplication) context.getService(application);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>

/src/org/eclipse/equinox/internal/app/AppPersistence.java : 6 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 34)
public class AppPersistence implements ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 47)
private static ServiceTracker configTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 83)
configTracker = new ServiceTracker(context, filter, new AppPersistence());
Type safety: The constructor ServiceTracker(BundleContext, Filter, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 83)
configTracker = new ServiceTracker(context, filter, new AppPersistence());
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 181)
ServiceRegistration sr = context.registerService(
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/AppPersistence.java
 (at line 409)
configLocation = (Location) context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 33)
public class DefaultApplicationListener implements ApplicationRunnable, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 36)
private final ServiceTracker handleTracker; // tracks the default application handle
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 40)
ServiceReference defaultRef = defaultApp.getServiceReference();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
Type safety: The constructor ServiceTracker(BundleContext, ServiceReference, ServiceTrackerCustomizer) belongs to the raw type ServiceTracker. References to generic type ServiceTracker<S,T> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 48)
ServiceTracker defaultAppTracker = new ServiceTracker(Activator.getContext(), defaultRef, this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/DefaultApplicationListener.java
 (at line 135)
return Activator.getContext().getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/EclipseAppContainer.java : 17 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 39)
implements IRegistryEventListener, SynchronousBundleListener, ServiceTrackerCustomizer {
ServiceTrackerCustomizer is a raw type. References to generic type ServiceTrackerCustomizer<S,T> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 71)
final private ServiceTracker launcherTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 96)
launcherTracker = new ServiceTracker(context, ApplicationLauncher.class.getName(), this);
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/equinox/internal/app/EclipseAppContainer.java
 (at line 96)
launcherTracker = new ServiceTracker(context, ApplicationLauncher.class.getName(), this);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 197)
ServiceRegistration sr = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 197)
ServiceRegistration sr = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 197)
ServiceRegistration sr = (ServiceRegistration) AccessController
The type AccessController has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 197)
ServiceRegistration sr = (ServiceRegistration) AccessController .doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() }, appDescriptor, appDescriptor.getServiceProperties()));
Type safety: Unchecked invocation doPrivileged(EclipseAppContainer.RegisterService) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 198)
.doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() }, appDescriptor, appDescriptor.getServiceProperties()));
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 198)
.doPrivileged(new RegisterService(new String[] { ApplicationDescriptor.class.getName() }, appDescriptor, appDescriptor.getServiceProperties()));
Type safety: The expression of type EclipseAppContainer.RegisterService needs unchecked conversion to conform to PrivilegedAction<Object>
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 222)
PrivilegedAction getRegServiceAction(String[] serviceClasses, Object serviceObject,
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
12. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 231)
private class RegisterService implements PrivilegedAction {
PrivilegedAction is a raw type. References to generic type PrivilegedAction<T> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 403)
ServiceReference[] runningRefs = context.getServiceReferences(ApplicationHandle.class.getName(),
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 406)
for (ServiceReference runningRef : runningRefs) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
15. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 407)
ApplicationHandle handle = (ApplicationHandle) context.getService(runningRef);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
16. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 407)
ApplicationHandle handle = (ApplicationHandle) context.getService(runningRef);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
17. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppContainer.java
 (at line 643)
appLauncher = (ApplicationLauncher) context.getService(reference);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext

/src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java : 11 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 44)
private ServiceRegistration sr;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 129)
ServiceRegistration reg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 132)
reg.setProperties(getServiceProperties());
Type safety: The method setProperties(Dictionary) belongs to the raw type ServiceRegistration. References to generic type ServiceRegistration<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 139)
void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 148)
private ServiceRegistration getServiceRegistration() {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 199)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 199)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 199)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController
The type AccessController has been deprecated since version 17 and marked for removal
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 199)
ServiceRegistration appHandleReg = (ServiceRegistration) AccessController .doPrivileged(appContainer.getRegServiceAction( new String[] { ApplicationHandle.class.getName(), IApplicationContext.class.getName() }, newAppHandle, newAppHandle.getServiceProperties()));
Type safety: Unchecked invocation doPrivileged(PrivilegedAction) of the generic method doPrivileged(PrivilegedAction<T>) of type AccessController
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 200)
.doPrivileged(appContainer.getRegServiceAction( new String[] { ApplicationHandle.class.getName(), IApplicationContext.class.getName() }, newAppHandle, newAppHandle.getServiceProperties()));
The method doPrivileged(PrivilegedAction<Object>) from the type AccessController is deprecated
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppDescriptor.java
 (at line 227)
ServiceRegistration temp = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized

/src/org/eclipse/equinox/internal/app/EclipseAppHandle.java : 14 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 46)
private volatile ServiceRegistration handleRegistration;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 102)
void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 110)
private ServiceRegistration getServiceRegistration() {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 123)
ServiceReference getServiceReference() {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 124)
ServiceRegistration reg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 165)
ServiceRegistration handleReg = getServiceRegistration();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 168)
handleReg.setProperties(getServiceProperties());
Type safety: The method setProperties(Dictionary) belongs to the raw type ServiceRegistration. References to generic type ServiceRegistration<S> should be parameterized
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 275)
final ServiceReference[] monitors = getStartupMonitors();
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
9. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 287)
for (ServiceReference m : monitors) {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
10. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 288)
StartupMonitor monitor = (StartupMonitor) Activator.getContext().getService(m);
Type safety: Unchecked invocation getService(ServiceReference) of the generic method getService(ServiceReference<S>) of type BundleContext
11. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 288)
StartupMonitor monitor = (StartupMonitor) Activator.getContext().getService(m);
Type safety: The expression of type ServiceReference needs unchecked conversion to conform to ServiceReference<Object>
12. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 298)
private ServiceReference[] getStartupMonitors() {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
13. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 301)
ServiceReference[] refs = null;
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized
14. WARNING in /src/org/eclipse/equinox/internal/app/EclipseAppHandle.java
 (at line 310)
Arrays.sort(refs, new Comparator<ServiceReference>() {
ServiceReference is a raw type. References to generic type ServiceReference<S> should be parameterized

/src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java : 8 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 40)
private ServiceRegistration sr;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 41)
private ServiceTracker appTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
3. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 52)
appTracker = new ServiceTracker(context, context.createFilter(FILTER_PREFIX + appPid + FILTER_POSTFIX), 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
4. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 52)
appTracker = new ServiceTracker(context, context.createFilter(FILTER_PREFIX + appPid + FILTER_POSTFIX), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
5. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 138)
synchronized void setServiceRegistration(ServiceRegistration sr) {
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 160)
SecurityManager sm = System.getSecurityManager();
The type SecurityManager has been deprecated since version 17 and marked for removal
7. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 160)
SecurityManager sm = System.getSecurityManager();
The method getSecurityManager() from the type System has been deprecated since version 17 and marked for removal
8. WARNING in /src/org/eclipse/equinox/internal/app/EclipseScheduledApplication.java
 (at line 162)
sm.checkPermission(new TopicPermission(eventTopic, TopicPermission.SUBSCRIBE));
The method checkPermission(Permission) from the type SecurityManager is deprecated

INFO WARNINGS

errors others warnings forbidden warnings discouraged warnings

FORBIDDEN ACCESS WARNINGS

top errors infos others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors infos others warnings forbidden warnings