diff options
author | Henrik Rentz-Reichert | 2018-11-23 13:08:16 +0000 |
---|---|---|
committer | Henrik Rentz-Reichert | 2018-11-23 16:07:24 +0000 |
commit | 5f90e312dbeeffaa057b682e3becb2cee79f6ea0 (patch) | |
tree | 714ee95ab99632e9f6a612024ae28458e0c2bce1 /tests/org.eclipse.etrice.ui.structure.tests | |
parent | 4c57977d9e3f098ffae44ee5f3373878b351feca (diff) | |
download | org.eclipse.etrice-5f90e312dbeeffaa057b682e3becb2cee79f6ea0.tar.gz org.eclipse.etrice-5f90e312dbeeffaa057b682e3becb2cee79f6ea0.tar.xz org.eclipse.etrice-5f90e312dbeeffaa057b682e3becb2cee79f6ea0.zip |
reduced warnings in eTrice Java and Xtend sources
Diffstat (limited to 'tests/org.eclipse.etrice.ui.structure.tests')
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/org.eclipse.etrice.ui.structure.tests/META-INF/MANIFEST.MF b/tests/org.eclipse.etrice.ui.structure.tests/META-INF/MANIFEST.MF index fc10f1a43..484601ad2 100644 --- a/tests/org.eclipse.etrice.ui.structure.tests/META-INF/MANIFEST.MF +++ b/tests/org.eclipse.etrice.ui.structure.tests/META-INF/MANIFEST.MF @@ -18,3 +18,4 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8 Bundle-Vendor: Eclipse eTrice Bundle-ActivationPolicy: lazy Bundle-Activator: org.eclipse.etrice.ui.structure.StructureTestActivator +Automatic-Module-Name: org.eclipse.etrice.ui.structure.tests diff --git a/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithBindings.java b/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithBindings.java index b4f93da16..2df1f85e0 100644 --- a/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithBindings.java +++ b/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithBindings.java @@ -112,7 +112,7 @@ public class TestActorClassWithBindings extends TestBase { // the second ref is represented once in the diagram assertNotNull("second ref", b.getEndpoint2().getActorRef()); - pes = Graphiti.getLinkService().getPictogramElements(diagram, ((ActorRef)b.getEndpoint2().getActorRef())); + pes = Graphiti.getLinkService().getPictogramElements(diagram, b.getEndpoint2().getActorRef()); assertEquals("instances of second ref", 1, pes.size()); } } diff --git a/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithInheritance.java b/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithInheritance.java index 2bff6a7dd..2e80ae338 100644 --- a/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithInheritance.java +++ b/tests/org.eclipse.etrice.ui.structure.tests/src/org/eclipse/etrice/ui/structure/commands/TestActorClassWithInheritance.java @@ -171,7 +171,7 @@ public class TestActorClassWithInheritance extends TestBase { // the second ref is represented once in the diagram assertNotNull("second ref", b.getEndpoint2().getActorRef()); - pes = Graphiti.getLinkService().getPictogramElements(diagram, ((ActorRef)b.getEndpoint2().getActorRef())); + pes = Graphiti.getLinkService().getPictogramElements(diagram, b.getEndpoint2().getActorRef()); assertEquals("instances of second ref", 1, pes.size()); } } |