aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid/src
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2012-02-17 12:48:07 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2012-02-17 13:46:50 +0400
commit0aa289a5926819abf28961be3d2f1e772648e9fb (patch)
tree2b4e7df2d9c0c383ca532b57f59db3be5a991740 /sonar-squid/src
parentaa342c58f14c8bc402f69143e9451aaad878e6c3 (diff)
downloadsonarqube-0aa289a5926819abf28961be3d2f1e772648e9fb.tar.gz
sonarqube-0aa289a5926819abf28961be3d2f1e772648e9fb.zip
Fix some quality flaws
Diffstat (limited to 'sonar-squid/src')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/text/Line.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/Line.java b/sonar-squid/src/main/java/org/sonar/squid/text/Line.java
index eb7188630d3..f468b090162 100644
--- a/sonar-squid/src/main/java/org/sonar/squid/text/Line.java
+++ b/sonar-squid/src/main/java/org/sonar/squid/text/Line.java
@@ -26,6 +26,8 @@ import org.sonar.squid.measures.Metric;
class Line implements Measurable<Metric> {
+ private static final String NOSONAR_TAG = "NOSONAR";
+
private final int lineIndex;
private int blankLine = 0;
private int line = 1;
@@ -39,7 +41,6 @@ class Line implements Measurable<Metric> {
private boolean isBlank;
private boolean isThereJavadoc;
private boolean isThereLicenseHeaderComment;
- private final static String NOSONAR_TAG = "NOSONAR";
Line() {
this.lineIndex = 0;