Compiler log for org.eclipse.e4.ui.services_0.9.1.v20101021-1500 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 23

errors others warnings forbidden warnings discouraged warnings

ERRORS

top others warnings forbidden warnings discouraged warnings

OTHER WARNINGS

top errors forbidden warnings discouraged warnings

/src/org/eclipse/e4/ui/internal/services/Activator.java : 5 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java
 (at line 29)
private ServiceRegistration contextServiceReg;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java
 (at line 30)
private ServiceRegistration handlerServiceReg;
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java
 (at line 32)
private ServiceTracker eventAdminTracker;
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java
 (at line 61)
eventAdminTracker = new ServiceTracker(bundleContext, EventAdmin.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
5. WARNING in /src/org/eclipse/e4/ui/internal/services/Activator.java
 (at line 61)
eventAdminTracker = new ServiceTracker(bundleContext, EventAdmin.class.getName(), null);
ServiceTracker is a raw type. References to generic type ServiceTracker<S,T> should be parameterized

/src/org/eclipse/e4/ui/internal/services/ActiveContextsFunction.java : 1 warning :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/services/ActiveContextsFunction.java
 (at line 28)
Set<String> locals = (Set<String>) current.getLocal(ContextContextService.LOCAL_CONTEXTS);
Type safety: Unchecked cast from Object to Set<String>

/src/org/eclipse/e4/ui/internal/services/ContextContextService.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 26)
private static final String CONTEXT_PREFIX = "CTX_";
The field ContextContextService.CONTEXT_PREFIX is never read locally
2. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 46)
Set<String> locals = (Set<String>) eclipseContext .getLocal(LOCAL_CONTEXTS);
Type safety: Unchecked cast from Object to Set<String>
3. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 52)
locals = new HashSet(locals);
Type safety: The constructor HashSet(Collection) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 52)
locals = new HashSet(locals);
Type safety: The expression of type HashSet needs unchecked conversion to conform to Set<String>
5. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 52)
locals = new HashSet(locals);
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 66)
Set<String> locals = (Set<String>) eclipseContext .getLocal(LOCAL_CONTEXTS);
Type safety: Unchecked cast from Object to Set<String>
7. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 70)
locals = new HashSet(locals);
Type safety: The constructor HashSet(Collection) belongs to the raw type HashSet. References to generic type HashSet<E> should be parameterized
8. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 70)
locals = new HashSet(locals);
Type safety: The expression of type HashSet needs unchecked conversion to conform to Set<String>
9. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 70)
locals = new HashSet(locals);
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/ui/internal/services/ContextContextService.java
 (at line 82)
Set<String> set = (Set<String>) eclipseContext .get(IServiceConstants.ACTIVE_CONTEXTS);
Type safety: Unchecked cast from Object to Set<String>

/src/org/eclipse/e4/ui/services/internal/events/EventBroker.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 37)
private Map<EventHandler, ServiceRegistration> registrations = new HashMap<EventHandler, ServiceRegistration>();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
2. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 37)
private Map<EventHandler, ServiceRegistration> registrations = new HashMap<EventHandler, ServiceRegistration>();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
3. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 121)
ServiceRegistration registration = bundleContext.registerService(EventHandler.class.getName(), wrappedHandler, d);
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
4. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 127)
ServiceRegistration registration = (ServiceRegistration) registrations.remove(eventHandler);
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
5. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 127)
ServiceRegistration registration = (ServiceRegistration) registrations.remove(eventHandler);
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
6. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 136)
Collection<ServiceRegistration> values = registrations.values();
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized
7. WARNING in /src/org/eclipse/e4/ui/services/internal/events/EventBroker.java
 (at line 137)
ServiceRegistration[] array = values.toArray(new ServiceRegistration[values.size()]);
ServiceRegistration is a raw type. References to generic type ServiceRegistration<S> should be parameterized

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings