Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2012-09-21 11:18:38 -0400
committerHenrik Rentz-Reichert2012-09-24 04:43:39 -0400
commitfb92e31eb0a2975ad88d378d6ed20e924fcb0a68 (patch)
tree42d6e4307648f724b07b84a1a8347232c2173844 /plugins/org.eclipse.etrice.abstractexec.behavior
parent99a5364b8cd3c694acf9747b577ff9d485420327 (diff)
downloadorg.eclipse.etrice-fb92e31eb0a2975ad88d378d6ed20e924fcb0a68.tar.gz
org.eclipse.etrice-fb92e31eb0a2975ad88d378d6ed20e924fcb0a68.tar.xz
org.eclipse.etrice-fb92e31eb0a2975ad88d378d6ed20e924fcb0a68.zip
reduced warnings
Diffstat (limited to 'plugins/org.eclipse.etrice.abstractexec.behavior')
-rw-r--r--plugins/org.eclipse.etrice.abstractexec.behavior/src/org/eclipse/etrice/abstractexec/behavior/AbstractExecutionValidator.java28
1 files changed, 14 insertions, 14 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 73c24b539..a2a871f19 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
@@ -76,20 +76,20 @@ public class AbstractExecutionValidator implements IRoomValidator {
EObject item = it.next();
if (item instanceof StateGraphItem)
{
- StateGraphItem toCheck = (StateGraphItem) item;
- if (false/*!checker.isReachable(toCheck)*/) {
- System.out.println("Unreachable "+ toCheck.getName());
-
- EObject orig = xpac.getOrig(toCheck);
- EObject container = orig.eContainer();
- @SuppressWarnings("unchecked")
- int idx = ((List<? extends EObject>)container.eGet(orig.eContainingFeature())).indexOf(orig);
-
- messageAcceptor.acceptWarning(
- "Unreachable state/point of graph",
- container, toCheck.eContainingFeature(), idx,
- "UNREACHABLE", toCheck.getName());
- }
+// StateGraphItem toCheck = (StateGraphItem) item;
+// if (false/*!checker.isReachable(toCheck)*/) {
+// System.out.println("Unreachable "+ toCheck.getName());
+//
+// EObject orig = xpac.getOrig(toCheck);
+// EObject container = orig.eContainer();
+// @SuppressWarnings("unchecked")
+// int idx = ((List<? extends EObject>)container.eGet(orig.eContainingFeature())).indexOf(orig);
+//
+// messageAcceptor.acceptWarning(
+// "Unreachable state/point of graph",
+// container, toCheck.eContainingFeature(), idx,
+// "UNREACHABLE", toCheck.getName());
+// }
}
}
}

Back to the top