Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2013-03-18 06:18:46 -0400
committerHenrik Rentz-Reichert2013-03-18 06:18:46 -0400
commitc29d31aab7e9201b7c7331c264ea0800d9401e86 (patch)
tree60896958eb50a8b06f2bbb5da8bf9c22d312d788 /plugins
parent9b5d414486631a330eb01680310194c4d9f68b32 (diff)
downloadorg.eclipse.etrice-c29d31aab7e9201b7c7331c264ea0800d9401e86.tar.gz
org.eclipse.etrice-c29d31aab7e9201b7c7331c264ea0800d9401e86.tar.xz
org.eclipse.etrice-c29d31aab7e9201b7c7331c264ea0800d9401e86.zip
[abstractexec] don't check abstract classes
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java3
-rw-r--r--plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/ReachabilityValidator.java3
2 files changed, 6 insertions, 0 deletions
diff --git a/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java b/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java
index 2b51bf36c..14561c46e 100644
--- a/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java
+++ b/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java
@@ -88,6 +88,9 @@ public class AbstractExecutionValidator implements IRoomValidator {
+ ac.getName());
}
+ if (ac.isAbstract())
+ return;
+
if (ValidationUtil.isCircularClassHierarchy(ac))
// is checked elsewhere
return;
diff --git a/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/ReachabilityValidator.java b/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/ReachabilityValidator.java
index 102a84d81..ca0fe0a1e 100644
--- a/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/ReachabilityValidator.java
+++ b/plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/ReachabilityValidator.java
@@ -41,6 +41,9 @@ public class ReachabilityValidator implements IRoomValidator {
ActorClass ac = (ActorClass) object;
+ if (ac.isAbstract())
+ return;
+
if (ValidationUtil.isCircularClassHierarchy(ac))
// is checked elsewhere
return;

Back to the top