Compiler log for org.eclipse.e4.xwt.tools.ui.editor_0.9.0.v20101021 : @dot.xml

TOTAL : ERRORS: 0, WARNINGS: 43

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/xwt/ui/editor/XWTCodeSynchronizer.java : 7 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 87)
String nodeName = node.getNodeName();
The value of the local variable nodeName is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 138)
IField[] fields = type.getFields();
The value of the local variable fields is not used
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 230)
String name = xmlnode.getNodeName();
The value of the local variable name is not used
4. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 285)
String name = xmlnode.getNodeName();
The value of the local variable name is not used
5. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 390)
private void jumpToJavaMethod(IMethod[] methods, String methodName) {
The method jumpToJavaMethod(IMethod[], String) from the type XWTCodeSynchronizer is never used locally
6. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 408)
private void modifyAllRelativeHandlerName(StructuredTextViewer textViewer, int offset, String inputHandler, String oldAttrValue) {
The method modifyAllRelativeHandlerName(StructuredTextViewer, int, String, String) from the type XWTCodeSynchronizer is never used locally
7. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTCodeSynchronizer.java
 (at line 418)
String name = node.getNodeName();
The value of the local variable name is not used

/src/org/eclipse/e4/xwt/ui/editor/XWTContentAssistProcessor.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTContentAssistProcessor.java
 (at line 26)
import org.eclipse.e4.xwt.internal.utils.UserData;
The import org.eclipse.e4.xwt.internal.utils.UserData is never used
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTContentAssistProcessor.java
 (at line 27)
import org.eclipse.e4.xwt.javabean.metadata.Metaclass;
The import org.eclipse.e4.xwt.javabean.metadata.Metaclass is never used
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTContentAssistProcessor.java
 (at line 355)
CMElementDeclaration elementDecl = getCMElementDeclaration(node);
The value of the local variable elementDecl is not used
4. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTContentAssistProcessor.java
 (at line 534)
IEvent[] allEvents = metaclass.getEvents();
The value of the local variable allEvents is not used

/src/org/eclipse/e4/xwt/ui/editor/XWTEditor.java : 4 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditor.java
 (at line 17)
import org.eclipse.e4.xwt.ui.ExceptionHandle;
The import org.eclipse.e4.xwt.ui.ExceptionHandle is never used
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditor.java
 (at line 245)
if (newInput == null) { return false; }
Dead code
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditor.java
 (at line 302)
int eventMask = ElementChangedEvent.POST_CHANGE | ElementChangedEvent.POST_RECONCILE;
The value of the local variable eventMask is not used
4. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditor.java
 (at line 367)
private IProgressMonitor getProgressMonitor() {
The method getProgressMonitor() from the type XWTEditor is never used locally

/src/org/eclipse/e4/xwt/ui/editor/XWTEditorPlugin.java : 2 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditorPlugin.java
 (at line 36)
private ContextTypeRegistry fContextTypeRegistry;
The value of the field XWTEditorPlugin.fContextTypeRegistry is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/XWTEditorPlugin.java
 (at line 41)
private TemplateStore fTemplateStore;
The value of the field XWTEditorPlugin.fTemplateStore is not used

/src/org/eclipse/e4/xwt/ui/editor/checkers/ElementPropertiesChecker.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/checkers/ElementPropertiesChecker.java
 (at line 61)
properties = Collections.EMPTY_LIST;
Type safety: The expression of type List needs unchecked conversion to conform to List<String>
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/checkers/ElementPropertiesChecker.java
 (at line 80)
attachedProperties = Collections.EMPTY_LIST;
Type safety: The expression of type List needs unchecked conversion to conform to List<String>
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/checkers/ElementPropertiesChecker.java
 (at line 105)
String elementName = nodeName.substring(index + 1);
The value of the local variable elementName is not used

/src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 143)
Set /* String (import names) */existingImports;
Set is a raw type. References to generic type Set<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 190)
private Set /* String */getExistingImports(CompilationUnit root) {
Set is a raw type. References to generic type Set<E> should be parameterized
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 191)
List imports = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
4. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 192)
Set res = new HashSet(imports.size());
Set is a raw type. References to generic type Set<E> should be parameterized
5. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 192)
Set res = new HashSet(imports.size());
HashSet is a raw type. References to generic type HashSet<E> should be parameterized
6. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 194)
res.add(ASTNodes.asString((ImportDeclaration) imports.get(i)));
Type safety: The method add(Object) belongs to the raw type Set. References to generic type Set<E> should be parameterized
7. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 204)
Set existingImports = helper.getExistingImports(astRoot);
Set is a raw type. References to generic type Set<E> should be parameterized
8. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 210)
private void removeUnusedImports(ICompilationUnit cu, Set existingImports, boolean needsSave) throws CoreException {
Set is a raw type. References to generic type Set<E> should be parameterized
9. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 220)
List importsDecls = root.imports();
List is a raw type. References to generic type List<E> should be parameterized
10. WARNING in /src/org/eclipse/e4/xwt/ui/editor/jdt/ASTHelper.java
 (at line 338)
Set /* String (import names) */existingImports;
Set is a raw type. References to generic type Set<E> should be parameterized

/src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTMenuBuilder.java : 3 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTMenuBuilder.java
 (at line 27)
protected void createAlphebeticalGrouping(IMenuManager menu, List actionList) {
List is a raw type. References to generic type List<E> should be parameterized
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTMenuBuilder.java
 (at line 30)
Arrays.sort(array, comparator);
Type safety: Unchecked invocation sort(Object[], Comparator) of the generic method sort(T[], Comparator<? super T>) of type Arrays
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTMenuBuilder.java
 (at line 30)
Arrays.sort(array, comparator);
Type safety: The expression of type Comparator needs unchecked conversion to conform to Comparator<? super Object>

/src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java : 10 warnings :

OTHER WARNINGS
1. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 62)
IContributionItem[] items = addAttributeMenu.getItems();
The value of the local variable items is not used
2. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 65)
String tagName = node.getNodeName();
The value of the local variable tagName is not used
3. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 71)
List<Action> actionPropertyCollector = new ArrayList<Action>();
The value of the local variable actionPropertyCollector is not used
4. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 72)
List<Action> actionAttachedPropertyCollector = new ArrayList<Action>();
The value of the local variable actionAttachedPropertyCollector is not used
5. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 73)
List<Action> actionEventCollector = new ArrayList<Action>();
The value of the local variable actionEventCollector is not used
6. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 83)
ImageDescriptor proppertyImageDescriptor = JavaPluginImages.getDescriptor(JavaPluginImages.IMG_FIELD_PUBLIC);
The value of the local variable proppertyImageDescriptor is not used
7. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 242)
List<Action> propertyElementCollector = new ArrayList<Action>();
The value of the local variable propertyElementCollector is not used
8. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 243)
List<Action> elementCollector = new ArrayList<Action>();
The value of the local variable elementCollector is not used
9. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 244)
List<Action> resourcesCollector = new ArrayList<Action>();
The value of the local variable resourcesCollector is not used
10. WARNING in /src/org/eclipse/e4/xwt/ui/editor/treeviewer/XWTNodeActionManager.java
 (at line 246)
IContributionItem[] items = addChildMenu.getItems();
The value of the local variable items is not used

FORBIDDEN ACCESS WARNINGS

top errors others warnings discouraged warnings

DISCOURAGED ACCESS WARNINGS

top errors others warnings forbidden warnings