aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorGodin <mandrikov@gmail.com>2010-10-25 14:29:09 +0000
committerGodin <mandrikov@gmail.com>2010-10-25 14:29:09 +0000
commitc0f8c39d35ffb7baaad8cc3f7418b2023885fc7d (patch)
tree40e47dc2ac86cc6bef898dfadfa826364f79b486 /plugins
parentd64769d226fe9e70afaa92b77fb178657b8529ae (diff)
downloadsonarqube-c0f8c39d35ffb7baaad8cc3f7418b2023885fc7d.tar.gz
sonarqube-c0f8c39d35ffb7baaad8cc3f7418b2023885fc7d.zip
SONAR-1832: Remove duplicated words from violation message
Diffstat (limited to 'plugins')
-rw-r--r--plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java
index 5f92c0b4bd2..17f06cc5cd3 100644
--- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java
+++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java
@@ -21,11 +21,7 @@ package org.sonar.java.bytecode.check;
import org.apache.commons.lang.StringUtils;
import org.sonar.api.utils.WildcardPattern;
-import org.sonar.check.Cardinality;
-import org.sonar.check.IsoCategory;
-import org.sonar.check.Priority;
-import org.sonar.check.Rule;
-import org.sonar.check.RuleProperty;
+import org.sonar.check.*;
import org.sonar.java.bytecode.asm.AsmClass;
import org.sonar.java.bytecode.asm.AsmEdge;
import org.sonar.squid.api.CheckMessage;
@@ -104,7 +100,7 @@ public class ArchitectureCheck extends BytecodeCheck {
private void logMessage(AsmEdge edge) {
String fromClass = asmClass.getInternalName();
String toClass = edge.getTargetAsmClass().getInternalName();
- CheckMessage message = new CheckMessage(this, "Architecture constraint : " + fromClass + " must not use " + toClass);
+ CheckMessage message = new CheckMessage(this, fromClass + " must not use " + toClass);
message.setLine(edge.getSourceLineNumber());
internalNames.put(toClass, message);
}