# 2/26/08 7:29:48 AM EST # Eclipse Java Compiler 0.829, pre-3.4.0 milestone-4, Copyright IBM Corp 2000, 2007. All rights reserved. ---------- 1. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionCreateCommand.java (at line 91) ElementImport elementImport = (ElementImport) getTarget(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from ElementImport to ElementImport ---------- 2. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionCreateCommand.java (at line 93) Stereotype stereotype = (Stereotype) getSource(); ^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from Stereotype to Stereotype ---------- ---------- 3. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionReorientCommand.java (at line 119) Stereotype oldSource = (Stereotype) oldEnd; ^^^^^^^^^ The local variable oldSource is never read ---------- 4. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionReorientCommand.java (at line 132) ElementImport oldTarget = (ElementImport) oldEnd; ^^^^^^^^^ The local variable oldTarget is never read ---------- 5. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionReorientCommand.java (at line 149) String newExtensionName = newMetaclass.getName() + "_" + stereotype.getName(); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 6. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionReorientCommand.java (at line 155) Property newMetaclassEnd = stereotype.createOwnedAttribute(newPropertyName, newMetaclass); ^^^^^^^^^^^^^^^ The local variable newMetaclassEnd is never read ---------- 7. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionReorientCommand.java (at line 178) String newExtensionName = metaclass.getName() + "_" + newStereotype.getName(); ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 8. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ElementImportEditPart.java (at line 286) referencedMetaclassFigure_fixed_metaclass1.setText("\u00ABmetaclass\u00BB"); ^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 9. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ElementImportEditPart.java (at line 301) fFigureReferencedMetaclassFigure_className.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 10. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/EnumerationEditPart.java (at line 332) fFigureClassFigure_stereo.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 11. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/EnumerationEditPart.java (at line 350) fFigureClassFigure_name.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 12. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ExtensionLink_requiredEditPart.java (at line 535) this.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 13. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile2EditPart.java (at line 309) profileFigure_ProfileLabel1.setText("\u00ABprofile\u00BB"); ^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 14. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile2EditPart.java (at line 318) fFigureProfileFigure_NameLabel.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 15. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 298) profileLabels_profileFigure0.setText("\u00ABprofile\u00BB"); ^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 16. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 303) fFigureProfileLabelsFigure_NameFigure.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 17. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 399) int[] scaled = (int[]) myTemplate.toIntArray().clone(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from int[] to int[] ---------- ---------- 18. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/StereotypeEditPart.java (at line 305) stereotypeFigure_StereotypeLabel0.setText("\u00ABstereotype\u00BB"); ^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 19. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/StereotypeEditPart.java (at line 324) fFigureStereotypeFigure_NameLabel.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 20. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 101) throw new ExecutionException("Can't open diagram", ex); ^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 21. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 118) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind"); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 22. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 118) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind"); ^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 23. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 135) throw new InvocationTargetException(ex, "Save operation failed"); ^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 24. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 140) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind", e); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 25. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 140) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind", e); ^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 26. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 142) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind", e); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 27. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/OpenDiagramEditPolicy.java (at line 142) throw new ExecutionException("Can't create diagram of '" + getDiagramKind() + "' kind", e); ^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 28. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/ProfileCanonicalEditPolicy.java (at line 343) View view = (View) domain2NotationMap.get(domainModelElement); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from View to View ---------- 29. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/ProfileCanonicalEditPolicy.java (at line 368) View view = (View) domain2NotationMap.getHinted(domainModelElement, UMLVisualIDRegistry.getType(hintVisualId)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from View to View ---------- ---------- 30. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/expressions/UMLAbstractExpression.java (at line 33) Platform.getDebugOption(UMLDiagramEditorPlugin.getInstance().getBundle().getSymbolicName() + "/debug/disableNoExprImplExceptionLog")).booleanValue(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 31. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/expressions/UMLAbstractExpression.java (at line 99) UMLDiagramEditorPlugin.getInstance().logError("Expression evaluation failure: " + body, e); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 32. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/expressions/UMLOCLFactory.java (at line 46) throw new IllegalArgumentException("Bad OCL:" + body); ^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 33. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/navigator/UMLNavigatorLabelProvider.java (at line 267) return ""; ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 34. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/navigator/UMLNavigatorLabelProvider.java (at line 384) return ""; ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 35. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 78) if (extension != null && !getFilePath().toString().endsWith("." + extension)) { ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 36. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 92) if ("DiagramModelFile".equals(getName()) && "DomainModelFile".equals(nextPage.getName())) { ^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 37. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 92) if ("DiagramModelFile".equals(getName()) && "DomainModelFile".equals(nextPage.getName())) { ^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 38. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 122) extension = "." + extension; ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 39. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 214) profile.setName("Profile"); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 40. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 419) model.createElementImport(umlLibrary.getOwnedType("Boolean")); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 41. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 420) model.createElementImport(umlLibrary.getOwnedType("String")); ^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 42. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 421) model.createElementImport(umlLibrary.getOwnedType("UnlimitedNatural")); ^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 43. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 422) model.createElementImport(umlLibrary.getOwnedType("Integer")); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 44. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 46) import org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.EditorStatusCodes; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Discouraged access: The type EditorStatusCodes is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 45. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 47) import org.eclipse.gmf.runtime.diagram.ui.resources.editor.internal.util.DiagramIOUtil; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Discouraged access: The type DiagramIOUtil is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 46. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 182) Diagram diagram = DiagramIOUtil.load(domain, storage, true, getProgressMonitor()); ^^^^^^^^^^^^^ Discouraged access: The type DiagramIOUtil is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 47. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 182) Diagram diagram = DiagramIOUtil.load(domain, storage, true, getProgressMonitor()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Discouraged access: The method load(TransactionalEditingDomain, IStorage, boolean, IProgressMonitor) from the type DiagramIOUtil is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 48. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 206) document.setContent((Diagram) rootElement); ^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from EObject to Diagram ---------- 49. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 213) document.setContent((Diagram) rootElement); ^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from Object to Diagram ---------- 50. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 521) throw new CoreException(new Status(IStatus.ERROR, UMLDiagramEditorPlugin.ID, EditorStatusCodes.RESOURCE_FAILURE, e.getLocalizedMessage(), null)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Discouraged access: The type EditorStatusCodes is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 51. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 521) throw new CoreException(new Status(IStatus.ERROR, UMLDiagramEditorPlugin.ID, EditorStatusCodes.RESOURCE_FAILURE, e.getLocalizedMessage(), null)); ^^^^^^^^^^^^^^^^ Discouraged access: The field RESOURCE_FAILURE from the type EditorStatusCodes is not accessible due to restriction on classpath entry /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- ---------- 52. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLInitDiagramFileAction.java (at line 74) diagramRoot = (EObject) resource.getContents().get(0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from EObject to EObject ---------- ---------- 53. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 55) "generalization.general->forAll(e | e.oclIsKindOf(uml::Stereotype)) and\r\ngeneralization.specific->forAll(e | e.oclIsKindOf(uml::Stereotype))", UMLPackage.eINSTANCE.getStereotype()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 54. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 61) "self.importedElement.oclIsUndefined() or self.importedElement.oclAsType(uml::Class).isMetaclass()", UMLPackage.eINSTANCE.getElementImport()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 55. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 66) private static final UMLAbstractExpression Property_3001_Constraint = UMLOCLFactory.getExpression("self.association.oclIsUndefined() or not self.association.oclIsKindOf(uml::Extension)", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 56. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 73) "let imported : NamedElement = self.importedElement in \r\nimported.oclIsUndefined() or not imported.oclIsKindOf(Class) or not imported.oclAsType(Class).isMetaclass()\r\n", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 57. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 98) return (String) annotation.getDetails().get("modelID"); //$NON-NLS-1$ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from String to String ---------- 58. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 113) UMLDiagramEditorPlugin.getInstance().logError("Unable to parse view type as a visualID number: " + type); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 59. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.7.2/R200802260712/eclipse/plugins/org.eclipse.uml2.diagram.profile/custom-src/org/eclipse/uml2/diagram/profile/parser/extension/RequiredExtensionParser.java (at line 85) return new SetValueCommand(new SetRequest((ExtensionEnd) extension.getOwnedEnds().get(0), UMLPackage.eINSTANCE.getMultiplicityElement_Lower(), value)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from Property to ExtensionEnd ---------- 59 problems (59 warnings)