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/e4/xwt/XWT.java (at line 641) return loadWithOptions(stream, url, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
1. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 601) return loadWithOptions(file, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
2. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 693) for (IStyle style : (Collection<IStyle>) styles) { Type safety: Unchecked cast from Object to Collection<IStyle> |
3. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 757) + IConstants.XWT_EXTENSION_SUFFIX), Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
4. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 766) open(url, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
5. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 770) open(resource, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
6. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 1096) return loadWithOptions(stream, url, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
7. WARNING in /src/org/eclipse/e4/xwt/XWTLoader.java (at line 1100) return loadWithOptions(resource, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
1. WARNING in /src/org/eclipse/e4/xwt/animation/AnimationTimeline.java (at line 109) PathPropertyAccessor<?> accessor = new PathPropertyAccessor(lastNodePath); PathPropertyAccessor is a raw type. References to generic type PathPropertyAccessor<T> should be parameterized |
1. WARNING in /src/org/eclipse/e4/xwt/animation/PointAnimation.java (at line 27) private Point by; The value of the field PointAnimation.by is not used |
1. WARNING in /src/org/eclipse/e4/xwt/animation/RectangleAnimation.java (at line 27) private Rectangle by; The value of the field RectangleAnimation.by is not used |
1. WARNING in /src/org/eclipse/e4/xwt/animation/TimeSpan.java (at line 17) public class TimeSpan implements Serializable, Comparable { The serializable class TimeSpan does not declare a static final serialVersionUID field of type long |
2. WARNING in /src/org/eclipse/e4/xwt/animation/TimeSpan.java (at line 17) public class TimeSpan implements Serializable, Comparable { Comparable is a raw type. References to generic type Comparable<T> should be parameterized |
3. WARNING in /src/org/eclipse/e4/xwt/animation/TimeSpan.java (at line 25) private static final double SecondsPerTick = 1E-07; The value of the field TimeSpan.SecondsPerTick is not used |
4. WARNING in /src/org/eclipse/e4/xwt/animation/TimeSpan.java (at line 45) private static final int MillisPerHour = 3600000; The value of the field TimeSpan.MillisPerHour is not used |
1. WARNING in /src/org/eclipse/e4/xwt/animation/internal/PathPropertyAccessor.java (at line 36) return (T) property.getValue(cacheObject); Type safety: Unchecked cast from Object to T |
1. WARNING in /src/org/eclipse/e4/xwt/collection/CollectionView.java (at line 28) private Collection<T> sourceCollection = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to Collection<T> |
2. WARNING in /src/org/eclipse/e4/xwt/collection/CollectionView.java (at line 30) private Collection<T> groups = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to Collection<T> |
1. WARNING in /src/org/eclipse/e4/xwt/converters/StringToEnum.java (at line 39) return Enum.valueOf((Class) getToType(), (String)fromObject); Type safety: Unchecked invocation valueOf(Class, String) of the generic method valueOf(Class<T>, String) of type Enum |
2. WARNING in /src/org/eclipse/e4/xwt/converters/StringToEnum.java (at line 39) return Enum.valueOf((Class) getToType(), (String)fromObject); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Enum<Enum<T>>> |
3. WARNING in /src/org/eclipse/e4/xwt/converters/StringToEnum.java (at line 39) return Enum.valueOf((Class) getToType(), (String)fromObject); Class is a raw type. References to generic type Class<T> should be parameterized |
1. WARNING in /src/org/eclipse/e4/xwt/converters/StringToTimeSpan.java (at line 15) import org.eclipse.e4.xwt.animation.Duration; The import org.eclipse.e4.xwt.animation.Duration is never used |
1. WARNING in /src/org/eclipse/e4/xwt/core/Operator.java (at line 166) else if (operant1 != null) { return operant2.equals(operant1); } Dead code |
1. WARNING in /src/org/eclipse/e4/xwt/databinding/ControlDataBinding.java (at line 14) import org.eclipse.core.databinding.observable.IObservable; The import org.eclipse.core.databinding.observable.IObservable is never used |
1. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 137) Class targetType = parameterTypes[0]; Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 141) writeMethod.invoke(target, new Object[] { Enum.valueOf(targetType, (String) value) }); Type safety: Unchecked invocation valueOf(Class, String) of the generic method valueOf(Class<T>, String) of type Enum |
3. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 141) writeMethod.invoke(target, new Object[] { Enum.valueOf(targetType, (String) value) }); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Enum<Enum<T>>> |
4. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 161) Class fieldType = field.getType(); Class is a raw type. References to generic type Class<T> should be parameterized |
5. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 164) field.set(target, Enum.valueOf(fieldType, (String) value)); Type safety: Unchecked invocation valueOf(Class, String) of the generic method valueOf(Class<T>, String) of type Enum |
6. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 164) field.set(target, Enum.valueOf(fieldType, (String) value)); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Enum<Enum<T>>> |
1. WARNING in /src/org/eclipse/e4/xwt/databinding/XWTObservableValue.java (at line 98) protected Object convert(Class type, Object value) { Class is a raw type. References to generic type Class<T> should be parameterized |
2. WARNING in /src/org/eclipse/e4/xwt/databinding/XWTObservableValue.java (at line 101) return Enum.valueOf(type, (String) value); Type safety: Unchecked invocation valueOf(Class, String) of the generic method valueOf(Class<T>, String) of type Enum |
3. WARNING in /src/org/eclipse/e4/xwt/databinding/XWTObservableValue.java (at line 101) return Enum.valueOf(type, (String) value); Type safety: The expression of type Class needs unchecked conversion to conform to Class<Enum<Enum<T>>> |
1. WARNING in /src/org/eclipse/e4/xwt/internal/core/Core.java (at line 56) import org.eclipse.e4.xwt.metadata.ModelUtils; The import org.eclipse.e4.xwt.metadata.ModelUtils is never used |
2. WARNING in /src/org/eclipse/e4/xwt/internal/core/Core.java (at line 111) public void printInfo(String message, Tracking tracking, Set trackType) { Set is a raw type. References to generic type Set<E> should be parameterized |
1. WARNING in /src/org/eclipse/e4/xwt/internal/core/DynamicBinding.java (at line 144) return UserData.getDataContextHost(control); Dead code |
1. WARNING in /src/org/eclipse/e4/xwt/internal/core/ScopeKeeper.java (at line 46) private List<IChangeListener> changeListeners = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to List<IChangeListener> |
1. WARNING in /src/org/eclipse/e4/xwt/internal/core/ScopeManager.java (at line 26) import org.eclipse.e4.xwt.core.IBinding; The import org.eclipse.e4.xwt.core.IBinding is never used |
1. WARNING in /src/org/eclipse/e4/xwt/internal/utils/ClassLoaderUtil.java (at line 132) Class type = NamespaceHelper.loadCLRClass(loadingContext, className, namespace); Class is a raw type. References to generic type Class<T> should be parameterized |
1. WARNING in /src/org/eclipse/e4/xwt/internal/utils/DocumentObjectSorter.java (at line 66) private static class AttrComparator implements Comparator<Element>, Serializable { The serializable class AttrComparator does not declare a static final serialVersionUID field of type long |
1. WARNING in /src/org/eclipse/e4/xwt/internal/utils/UserData.java (at line 103) return Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to Collection<Object> |
2. WARNING in /src/org/eclipse/e4/xwt/internal/utils/UserData.java (at line 588) return (Map<String, Object>) getLocalData(object, IUserDataConstants.XWT_RESOURCES_KEY); Type safety: Unchecked cast from Object to Map<String,Object> |
3. WARNING in /src/org/eclipse/e4/xwt/internal/utils/UserData.java (at line 593) Map<String, Object> map = (Map<String, Object>) getLocalData(object, IUserDataConstants.XWT_RESOURCES_KEY); Type safety: Unchecked cast from Object to Map<String,Object> |
1. WARNING in /src/org/eclipse/e4/xwt/internal/xml/Element.java (at line 89) this.originalAttributes = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Attribute> |
2. WARNING in /src/org/eclipse/e4/xwt/internal/xml/Element.java (at line 90) this.externalAttributes = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Map<String,Attribute>> |
3. WARNING in /src/org/eclipse/e4/xwt/internal/xml/Element.java (at line 175) originalAttributes = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Attribute> |
4. WARNING in /src/org/eclipse/e4/xwt/internal/xml/Element.java (at line 185) element.originalAttributes = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Attribute> |
1. WARNING in /src/org/eclipse/e4/xwt/internal/xml/ElementHandler.java (at line 158) element.setId(elementManager.generateID(name)); The static method generateID(String) from the type ElementManager should be accessed in a static way |
2. WARNING in /src/org/eclipse/e4/xwt/internal/xml/ElementHandler.java (at line 204) Attribute attribute = new Attribute(normalizeAttrNamespace(current.getNamespace()), attributeName, elementManager.generateID(current.getName())); The static method generateID(String) from the type ElementManager should be accessed in a static way |
3. WARNING in /src/org/eclipse/e4/xwt/internal/xml/ElementHandler.java (at line 252) Attribute attribute = new Attribute(normalizeAttrNamespace(current.getNamespace()), attributeName, elementManager.generateID(current.getName())); The static method generateID(String) from the type ElementManager should be accessed in a static way |
4. WARNING in /src/org/eclipse/e4/xwt/internal/xml/ElementHandler.java (at line 589) childElement.setId(elementManager.generateID(element.getName())); The static method generateID(String) from the type ElementManager should be accessed in a static way |
5. WARNING in /src/org/eclipse/e4/xwt/internal/xml/ElementHandler.java (at line 787) private String getDefaultAttribute(Attributes attrs, String name) { The method getDefaultAttribute(Attributes, String) from the type ElementHandler is never used locally |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 102) static Map<String, Object> EMPTY_MAP = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
2. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 123) protected Collection<IStyle> styles = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to Collection<IStyle> |
3. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 344) loadData.setStyles((Collection<IStyle>) styles); Type safety: Unchecked cast from Object to Collection<IStyle> |
4. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 671) Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
5. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 682) Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
6. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 703) Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
7. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 1283) collector = (Collection) type.newInstance(); Collection is a raw type. References to generic type Collection<E> should be parameterized |
8. WARNING in /src/org/eclipse/e4/xwt/javabean/ResourceLoader.java (at line 1382) doCreate(instance, (Element) doc, null, Collections.EMPTY_MAP); Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,Object> |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/AbstractMetaclass.java (at line 67) protected Map<String, IEventGroup> eventGroupCache = Collections.EMPTY_MAP; Type safety: The expression of type Map needs unchecked conversion to conform to Map<String,IEventGroup> |
2. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/AbstractMetaclass.java (at line 480) Collection existingValue = (Collection) useProperty Collection is a raw type. References to generic type Collection<E> should be parameterized |
3. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/AbstractMetaclass.java (at line 480) Collection existingValue = (Collection) useProperty Collection is a raw type. References to generic type Collection<E> should be parameterized |
4. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/AbstractMetaclass.java (at line 483) existingValue = new ArrayList(); ArrayList is a raw type. References to generic type ArrayList<E> should be parameterized |
5. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/AbstractMetaclass.java (at line 485) existingValue.add(childElement); Type safety: The method add(Object) belongs to the raw type Collection. References to generic type Collection<E> should be parameterized |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/AbstractProperty.java (at line 25) protected Collection<ISetPostAction> setPostActions = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to Collection<ISetPostAction> |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/BeanProperty.java (at line 24) import org.eclipse.e4.xwt.metadata.IProperty; The import org.eclipse.e4.xwt.metadata.IProperty is never used |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/DynamicProperty.java (at line 18) import org.eclipse.e4.xwt.metadata.IProperty; The import org.eclipse.e4.xwt.metadata.IProperty is never used |
2. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/DynamicProperty.java (at line 54) return getter.invoke(target, 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/e4/xwt/javabean/metadata/properties/MultiSelectionBeanProperty.java (at line 19) import org.eclipse.e4.xwt.metadata.IProperty; The import org.eclipse.e4.xwt.metadata.IProperty is never used |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/SingleSelectionBeanProperty.java (at line 16) import org.eclipse.e4.xwt.metadata.IProperty; The import org.eclipse.e4.xwt.metadata.IProperty is never used |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/TableItemEditorProperty.java (at line 37) Collection<TableEditor> tableEditors = (Collection<TableEditor>) value; Type safety: Unchecked cast from Object to Collection<TableEditor> |
1. WARNING in /src/org/eclipse/e4/xwt/javabean/metadata/properties/TableItemProperty.java (at line 64) Collection<Cell> cells = (Collection<Cell>) value; Type safety: Unchecked cast from Object to Collection<TableItemProperty.Cell> |
1. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 39) private List<IMapChangeListener> changeListeners = Collections.EMPTY_LIST; Type safety: The expression of type List needs unchecked conversion to conform to List<IMapChangeListener> |
2. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 82) public Set entrySet() { Set is a raw type. References to generic type Set<E> should be parameterized |
3. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 120) public Set keySet() { Set is a raw type. References to generic type Set<E> should be parameterized |
4. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 130) public void putAll(Map t) { Map is a raw type. References to generic type Map<K,V> should be parameterized |
5. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 132) delegate.putAll(t); Type safety: The method putAll(Map) belongs to the raw type Map. References to generic type Map<K,V> should be parameterized |
6. WARNING in /src/org/eclipse/e4/xwt/jface/XWTObservableWrapper.java (at line 154) public Collection values() { Collection is a raw type. References to generic type Collection<E> should be parameterized |
top | errors | others warnings | discouraged warnings |
top | errors | others warnings | forbidden warnings |
1. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 23) import org.eclipse.core.internal.databinding.property.value.SimplePropertyObservableValue; Discouraged access: The type SimplePropertyObservableValue is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar |
2. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 298) IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property); Discouraged access: The constructor SimplePropertyObservableValue(Realm, Object, SimpleValueProperty) is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar |
3. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 298) IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property); Discouraged access: The type SimplePropertyObservableValue is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar |
4. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 304) IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property); Discouraged access: The constructor SimplePropertyObservableValue(Realm, Object, SimpleValueProperty) is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar |
5. WARNING in /src/org/eclipse/e4/xwt/databinding/JFaceXWTDataBinding.java (at line 304) IObservableValue observableValue = new SimplePropertyObservableValue(XWT.getRealm(), viewer, property); Discouraged access: The type SimplePropertyObservableValue is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.core.databinding.property_1.4.0.I20110222-0800.jar |
1. WARNING in /src/org/eclipse/e4/xwt/databinding/TypedViewerObservableValueDecorator.java (at line 14) import org.eclipse.jface.internal.databinding.viewers.ViewerObservableValueDecorator; Discouraged access: The type ViewerObservableValueDecorator is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar |
2. WARNING in /src/org/eclipse/e4/xwt/databinding/TypedViewerObservableValueDecorator.java (at line 18) ViewerObservableValueDecorator { Discouraged access: The type ViewerObservableValueDecorator is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar |
3. WARNING in /src/org/eclipse/e4/xwt/databinding/TypedViewerObservableValueDecorator.java (at line 23) super(decorated, viewer); Discouraged access: The constructor ViewerObservableValueDecorator(IObservableValue, Viewer) is not accessible due to restriction on classpath entry /opt/public/eclipse/e4/build/e4/downloads/drops/4.0.0/targets/v20110617/plugins/org.eclipse.jface.databinding_1.5.0.I20100907-0800.jar |