aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/sonar-squid-java-plugin
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-05-05 15:08:04 +0200
committersimonbrandhof <simon.brandhof@gmail.com>2011-05-05 15:08:04 +0200
commitbcc445118956633eb4084581a47edbe5672cefb4 (patch)
treebb9a602d2fe81041dd27ac00766b3895ce2f993e /plugins/sonar-squid-java-plugin
parentae508ce93d67bb07ee70c2ec5290d6d093e12de4 (diff)
downloadsonarqube-bcc445118956633eb4084581a47edbe5672cefb4.tar.gz
sonarqube-bcc445118956633eb4084581a47edbe5672cefb4.zip
Reduce technical debt
Diffstat (limited to 'plugins/sonar-squid-java-plugin')
-rw-r--r--plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/squid/check/EmptyFileCheck.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/squid/check/EmptyFileCheck.java b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/squid/check/EmptyFileCheck.java
index 40e276d4d13..9377f080c6a 100644
--- a/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/squid/check/EmptyFileCheck.java
+++ b/plugins/sonar-squid-java-plugin/src/main/java/org/sonar/java/squid/check/EmptyFileCheck.java
@@ -22,9 +22,7 @@ package org.sonar.java.squid.check;
import org.sonar.check.Priority;
import org.sonar.check.Rule;
-import org.sonar.check.RuleProperty;
import org.sonar.squid.api.CheckMessage;
-import org.sonar.squid.api.SourceClass;
import org.sonar.squid.api.SourceFile;
import org.sonar.squid.measures.Metric;
@@ -35,7 +33,7 @@ public final class EmptyFileCheck extends SquidCheck {
@Override
public void visitFile(SourceFile file) {
int loc = file.getInt(Metric.LINES_OF_CODE);
- if (loc==0) {
+ if (loc == 0) {
CheckMessage message = new CheckMessage(this, "This Java file is empty");
file.log(message);
}