Index: trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/validation/EbnfJavaValidator.java
===================================================================
--- trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/validation/EbnfJavaValidator.java	(revision 17)
+++ trunk/de.ugoe.cs.swe.bnftools.ebnf/src/de/ugoe/cs/swe/bnftools/validation/EbnfJavaValidator.java	(revision 18)
@@ -351,44 +351,4 @@
 		//TODO: currently compares complete rules and not subrules
 		
-		CompositeNode node = NodeUtil.getNodeAdapter(rule).getParserNode();
-		CompositeNode root = node.getParent();
-		
-		AbstractNode last = node.getChildren().get(
-				node.getChildren().size() - 1);
-
-		if (!(last instanceof CompositeNode))
-			return;
-
-		CompositeNode rightHandSideNode = (CompositeNode) last;
-		String rightHandSideText = rightHandSideNode.serialize().trim()
-				.replaceAll("[ \t\n\r]", "");
-
-		for (int i = 0; i < root.getChildren().size(); i++) {
-			if (root.getChildren().get(i) == node)
-				continue;
-			if (root.getChildren().get(i) == null)
-				continue;
-			if (!(root.getChildren().get(i) instanceof CompositeNode))
-				continue;
-			
-			CompositeNode child = (CompositeNode) root.getChildren().get(i);
-			
-			AbstractNode childLastChild = child.getChildren().get(
-					child.getChildren().size() - 1);
-			if (childLastChild instanceof CompositeNode) {
-				CompositeNode childLastChildCompositeNode = (CompositeNode) childLastChild;
-				String text = childLastChildCompositeNode.serialize().trim()
-						.replaceAll("[ \t\n\r]", "");
-				if (text.equals(rightHandSideText)) {
-					Rule matchingRule = (Rule) child.getElement();
-					String description = EbnfJavaValidator.duplicateSubRulesDescription
-							+ " with rule "
-							+ matchingRule.getRulenumber()
-							+ " (Line "
-							+ child.getLine() + ")";
-					warning(description, 1, description);
-				}
-			}
-		}
 	}
 	
