# 6/19/09 7:00:32 AM EDT # Eclipse Java Compiler 0.955, 3.5.0 milestone-7, Copyright IBM Corp 2000, 2008. All rights reserved. ---------- 1. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionCreateCommand.java (at line 83) ElementImport elementImport = (ElementImport) getTarget(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from ElementImport to ElementImport ---------- 2. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/ExtensionCreateCommand.java (at line 85) Stereotype stereotype = (Stereotype) getSource(); ^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from Stereotype to Stereotype ---------- ---------- 3. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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.9.0/S200906190654/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.9.0/S200906190654/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.9.0/S200906190654/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.9.0/S200906190654/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.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/UMLReorientConnectionViewCommand.java (at line 59) assert null != edgeAdaptor : "Null child in UMLReorientConnectionViewCommand"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 9. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/commands/UMLReorientConnectionViewCommand.java (at line 61) assert null != edge : "Null edge in UMLReorientConnectionViewCommand"; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 10. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/helpers/UMLBaseEditHelper.java (at line 99) CompositeCommand result = new CompositeCommand(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 11. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ElementImportEditPart.java (at line 376) referencedMetaclassFigure_fixed_metaclass1.setText("\u00ABmetaclass\u00BB"); ^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 12. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ElementImportEditPart.java (at line 392) fFigureReferencedMetaclassFigure_className.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.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ExtensionLink_requiredEditPart.java (at line 585) this.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 14. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 383) fFigureSecondaryProfile_ProfileLabel.setText("\u00ABprofile\u00BB"); ^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 15. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 388) fFigureSecondaryProfile_NameLabel.setText(""); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 16. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/Profile3EditPart.java (at line 470) int[] scaled = (int[]) myTemplate.toIntArray().clone(); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from int[] to int[] ---------- ---------- 17. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/parts/ProfileEditPart.java (at line 101) addListenerFilter("SemanticModel", this, pakkage, UMLPackage.eINSTANCE.getPackage_ProfileApplication()); ^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 18. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 19. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 20. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 21. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 22. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 23. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 24. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 25. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- ---------- 26. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/ProfileCanonicalEditPolicy.java (at line 452) View view = (View) domain2NotationMap.get(domainModelElement); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from View to View ---------- 27. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/ProfileCanonicalEditPolicy.java (at line 477) View view = (View) domain2NotationMap.getHinted(domainModelElement, UMLVisualIDRegistry.getType(hintVisualId)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from View to View ---------- ---------- 28. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/edit/policies/UMLBaseItemSemanticEditPolicy.java (at line 292) assert view.getEAnnotation("Shortcut") == null; ^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 29. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- ---------- 30. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/DiagramEditorContextMenuProvider.java (at line 60) menu.appendToGroup("editGroup", deleteAction); ^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 31. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/DiagramEditorContextMenuProvider.java (at line 64) UMLDiagramEditorPlugin.getInstance().logError("Error building context menu", 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.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 69) if (fileName.endsWith("." + getExtension())) { ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 33. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 85) if (extension != null && !getFilePath().toString().endsWith("." + extension)) { ^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 34. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 99) if ("DiagramModelFile".equals(getName()) && "DomainModelFile".equals(nextPage.getName())) { ^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 35. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLCreationWizardPage.java (at line 99) if ("DiagramModelFile".equals(getName()) && "DomainModelFile".equals(nextPage.getName())) { ^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 36. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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-$ ---------- 37. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 410) model.createElementImport(umlLibrary.getOwnedType("Boolean")); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 38. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 411) model.createElementImport(umlLibrary.getOwnedType("String")); ^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 39. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 412) model.createElementImport(umlLibrary.getOwnedType("UnlimitedNatural")); ^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 40. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDiagramEditorUtil.java (at line 413) model.createElementImport(umlLibrary.getOwnedType("Integer")); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 41. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 42. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 43. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 185) 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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 44. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 185) 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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 45. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 209) document.setContent((Diagram) rootElement); ^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from EObject to Diagram ---------- 46. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 216) document.setContent((Diagram) rootElement); ^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from Object to Diagram ---------- 47. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 523) 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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- 48. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLDocumentProvider.java (at line 523) 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.9.0/S200906190654/eclipse/plugins/org.eclipse.gmf.runtime.diagram.ui.resources.editor.jar ---------- ---------- 49. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLInitDiagramFileAction.java (at line 77) diagramRoot = (EObject) resource.getContents().get(0); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from EObject to EObject ---------- ---------- 50. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLNewDiagramFileWizard.java (at line 108) synchronizationPage = new UMLProfileSynchronizationWizardPage("Select diagram synchronization scheme", editingDomain); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 51. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLNewDiagramFileWizard.java (at line 109) synchronizationPage.setTitle("Diagram synchronization"); ^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 52. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLNewDiagramFileWizard.java (at line 110) synchronizationPage.setDescription("Select diagram contents and its synchronization mode"); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 53. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 107) return (String) annotation.getDetails().get("modelID"); //$NON-NLS-1$ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Unnecessary cast from String to String ---------- 54. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 122) UMLDiagramEditorPlugin.getInstance().logError("Unable to parse view type as a visualID number: " + type); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 55. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/part/UMLVisualIDRegistry.java (at line 642) public boolean isShortcutDescendant(View view) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The method isShortcutDescendant(View) from the type new IVisualIDRegistry(){} is never used locally ---------- ---------- 56. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 67) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".5014"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 57. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 69) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".3008"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 58. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 71) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".3009"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 59. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 73) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".5005"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 60. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 75) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".3005"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 61. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 77) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".3010"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 62. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 80) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".5003.5009"); ^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 63. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 82) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".3001"); ^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 64. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferenceHelper.java (at line 85) return store.getBoolean(UMLPreferencesConstants.PREF_ICONS_SHOW_VISUAL_ID_PREFIX + ".5001.3003"); ^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 65. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/preferences/DiagramIconStylePreferencePage.java (at line 204) Composite e = createExpansibleComposite(myModeEditor.getRadioBoxControl(showHideIconsGroup), "Elements"); ^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 66. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 40) "let base : String = \'Stereotype\' in \r\nlet suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in \r\nlet space : Namespace = self.namespace in \r\nlet allMissed : Sequence(String) = suffixes-> \t\r\n select(s : String | not space.member->\r\n exists(e : NamedElement | e.name = base.concat(s)) \r\n ) in \r\nlet firstMissed : String = allMissed->first() in \r\nlet noMisses : Boolean = firstMissed.oclIsUndefined() in \r\nlet allNames : Set(String) = \t\r\nif noMisses \r\nthen\r\n space.member->collect(e : NamedElement | \t\t\t\r\n if e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\t\r\n then \'\' \r\n else e.name \t\t\t\r\n endif\r\n )->asSet()->excluding(\'\') \t\t\r\nelse Set{\'not in use\'} \t\t\r\nendif in \r\nlet longestName : String = \t\t\r\n if noMisses \t\t\r\n then allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\r\n else \'not in use\' \t\t\r\n endif \t\r\nin \r\nif noMisses then \t\t\r\n if longestName.oclIsUndefined() \r\n then base \t\t\r\n else longestName.concat(\'1\') \r\n endif \r\nelse \r\nbase.concat(firstMissed) \r\nendif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 67. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 55) "let base : String = \'Profile\' in let suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> \tselect(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = \tif noMisses \t\tthen \t\tspace.member->collect(e : NamedElement | \t\t\tif e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\tthen \'\' else e.name \t\t\tendif \t\t)->asSet()->excluding(\'\') \t\telse Set{\'not in use\'} \t\tendif in let longestName : String = \t\tif noMisses \t\tthen allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\t\telse \'not in use\' \t\tendif \tin if noMisses then \t\tif longestName.oclIsUndefined() \t\tthen base \t\telse longestName.concat(\'1\') \t\tendif else base.concat(firstMissed) endif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 68. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 70) " let base : String = \'Enumeration\' in let suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> \tselect(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = \tif noMisses \t\tthen \t\tspace.member->collect(e : NamedElement | \t\t\tif e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\tthen \'\' else e.name \t\t\tendif \t\t)->asSet()->excluding(\'\') \t\telse Set{\'not in use\'} \t\tendif in let longestName : String = \t\tif noMisses \t\tthen allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\t\telse \'not in use\' \t\tendif \tin if noMisses then \t\tif longestName.oclIsUndefined() \t\tthen base \t\telse longestName.concat(\'1\') \t\tendif else base.concat(firstMissed) endif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 69. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 87) Object value_0_0_0 = UMLOCLFactory.getExpression("\'OCL\'", UMLPackage.eINSTANCE.getOpaqueExpression()).evaluate(newInstance_0_0); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 70. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 94) Object value_0_0_1 = UMLOCLFactory.getExpression("\'true\'", UMLPackage.eINSTANCE.getOpaqueExpression()).evaluate(newInstance_0_0); ^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 71. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 114) "let base : String = \'property\' in let suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> \tselect(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = \tif noMisses \t\tthen \t\tspace.member->collect(e : NamedElement | \t\t\tif e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\tthen \'\' else e.name \t\t\tendif \t\t)->asSet()->excluding(\'\') \t\telse Set{\'not in use\'} \t\tendif in let longestName : String = \t\tif noMisses \t\tthen allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\t\telse \'not in use\' \t\tendif \tin if noMisses then \t\tif longestName.oclIsUndefined() \t\tthen base \t\telse longestName.concat(\'1\') \t\tendif else base.concat(firstMissed) endif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 72. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 131) Object value_0_0_0 = UMLOCLFactory.getExpression("\'OCL\'", UMLPackage.eINSTANCE.getOpaqueExpression()).evaluate(newInstance_0_0); ^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 73. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 138) Object value_0_0_1 = UMLOCLFactory.getExpression("\'true\'", UMLPackage.eINSTANCE.getOpaqueExpression()).evaluate(newInstance_0_0); ^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 74. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 156) Object value_0 = UMLOCLFactory.getExpression("\'/icons\'", UMLPackage.eINSTANCE.getImage()).evaluate(instance); ^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 75. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 170) "let base : String = \'stereotype\' in let suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> \tselect(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = \tif noMisses \t\tthen \t\tspace.member->collect(e : NamedElement | \t\t\tif e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\tthen \'\' else e.name \t\t\tendif \t\t)->asSet()->excluding(\'\') \t\telse Set{\'not in use\'} \t\tendif in let longestName : String = \t\tif noMisses \t\tthen allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\t\telse \'not in use\' \t\tendif \tin if noMisses then \t\tif longestName.oclIsUndefined() \t\tthen base \t\telse longestName.concat(\'1\') \t\tendif else base.concat(firstMissed) endif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- 76. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/ElementInitializers.java (at line 185) " let base : String = \'enumerationLiteral\' in let suffixes : Sequence(String) = Sequence {\'\', \'1\', \'2\', \'3\', \'4\', \'5\', \'6\', \'7\', \'8\', \'9\', \'10\'} in let space : Namespace = self.namespace in let allMissed : Sequence(String) = suffixes-> \tselect(s : String | not space.member->exists(e : NamedElement | e.name = base.concat(s)) ) in let firstMissed : String = allMissed->first() in let noMisses : Boolean = firstMissed.oclIsUndefined() in let allNames : Set(String) = \tif noMisses \t\tthen \t\tspace.member->collect(e : NamedElement | \t\t\tif e = self or e.name.oclIsUndefined() or e.name.substring(1, e.name.size().min(base.size())) <> base \t\t\tthen \'\' else e.name \t\t\tendif \t\t)->asSet()->excluding(\'\') \t\telse Set{\'not in use\'} \t\tendif in let longestName : String = \t\tif noMisses \t\tthen allNames->select(n : String | not allNames->exists(nn : String | nn.size() > n.size()))->asSequence()->first()\t\telse \'not in use\' \t\tendif \tin if noMisses then \t\tif longestName.oclIsUndefined() \t\tthen base \t\telse longestName.concat(\'1\') \t\tendif else base.concat(firstMissed) endif ", ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 77. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 321) Node StereotypeName_5001 = createLabel(node, UMLVisualIDRegistry.getType(StereotypeNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^ The local variable StereotypeName_5001 is never read ---------- 78. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 322) Node StereotypeQualifiedName_5012 = createLabel(node, UMLVisualIDRegistry.getType(StereotypeStereoEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The local variable StereotypeQualifiedName_5012 is never read ---------- 79. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 369) Node ProfileName_5003 = createLabel(node, UMLVisualIDRegistry.getType(ProfileNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^ The local variable ProfileName_5003 is never read ---------- 80. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 370) Node ProfileQualifiedName_5013 = createLabel(node, UMLVisualIDRegistry.getType(ProfileStereoEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^^^^^^ The local variable ProfileQualifiedName_5013 is never read ---------- 81. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 406) Node EnumerationName_5005 = createLabel(node, UMLVisualIDRegistry.getType(EnumerationNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^ The local variable EnumerationName_5005 is never read ---------- 82. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 407) Node EnumerationQualifiedName_5011 = createLabel(node, UMLVisualIDRegistry.getType(EnumerationQualifiedNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The local variable EnumerationQualifiedName_5011 is never read ---------- 83. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 443) Node ElementImportLabel_5008 = createLabel(node, UMLVisualIDRegistry.getType(ReferencedMetaclassNode_classNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^^^^ The local variable ElementImportLabel_5008 is never read ---------- 84. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 474) Node ProfileName_5009 = createLabel(node, UMLVisualIDRegistry.getType(ProfileName2EditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^ The local variable ProfileName_5009 is never read ---------- 85. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 515) Node ConstraintName_5010 = createLabel(node, UMLVisualIDRegistry.getType(ConstraintNameEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^ The local variable ConstraintName_5010 is never read ---------- 86. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 516) Node ConstraintLanguage_5015 = createLabel(node, UMLVisualIDRegistry.getType(ConstraintLanguageEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^^^^^^^^ The local variable ConstraintLanguage_5015 is never read ---------- 87. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/providers/UMLViewProvider.java (at line 547) Node CommentBody_5014 = createLabel(node, UMLVisualIDRegistry.getType(CommentBodyEditPart.VISUAL_ID)); ^^^^^^^^^^^^^^^^ The local variable CommentBody_5014 is never read ---------- ---------- 88. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/eclipse/plugins/org.eclipse.uml2.diagram.profile/src/org/eclipse/uml2/diagram/profile/sheet/UMLSheetLabelProvider.java (at line 32) return etype == null ? "" : etype.getDisplayName(); ^^ Non-externalized string literal; it should be followed by //$NON-NLS-$ ---------- ---------- 89. WARNING in /home/www-data/build/modeling/mdt/uml2tools/downloads/drops/0.9.0/S200906190654/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 ---------- 89 problems (89 warnings)