Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraradermache2012-07-07 07:20:50 -0400
committeraradermache2012-07-07 07:20:50 -0400
commit03261ca7d64f48f2013bc7f8df2671dd3cd9da5b (patch)
tree0dbbcf9a44c48b7f6cd032dbd9d744bd9353c155 /plugins/infra
parent3ef26129f803dcdd8240e85488ea742bd18ae41b (diff)
downloadorg.eclipse.papyrus-03261ca7d64f48f2013bc7f8df2671dd3cd9da5b.tar.gz
org.eclipse.papyrus-03261ca7d64f48f2013bc7f8df2671dd3cd9da5b.tar.xz
org.eclipse.papyrus-03261ca7d64f48f2013bc7f8df2671dd3cd9da5b.zip
Minor fix in the context of bug 384164: error markers are now correctly propagated to parents.
Diffstat (limited to 'plugins/infra')
-rw-r--r--plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/ValidationFunctions.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/ValidationFunctions.java b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/ValidationFunctions.java
index ebb67b59765..b87a7b0bd32 100644
--- a/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/ValidationFunctions.java
+++ b/plugins/infra/services/org.eclipse.papyrus.infra.services.validation/src/org/eclipse/papyrus/infra/services/validation/ValidationFunctions.java
@@ -91,7 +91,7 @@ public class ValidationFunctions implements IDecorationSpecificFunctions {
if(childDecoration.getDecorationImageForME() == getImageDescriptorForME(IMarker.SEVERITY_WARNING)) {
childSeverity = IMarker.SEVERITY_WARNING;
}
- else if(childDecoration.getDecorationImageForME() == getImageDescriptorForME(IMarker.SEVERITY_WARNING)) {
+ else if(childDecoration.getDecorationImageForME() == getImageDescriptorForME(IMarker.SEVERITY_ERROR)) {
childSeverity = IMarker.SEVERITY_ERROR;
break; // no need to check further
}

Back to the top