diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/bytecode/check/ArchitectureCheck.java | 8 |
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); } |