diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-02-17 12:48:07 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2012-02-17 13:46:50 +0400 |
commit | 0aa289a5926819abf28961be3d2f1e772648e9fb (patch) | |
tree | 2b4e7df2d9c0c383ca532b57f59db3be5a991740 /sonar-squid/src | |
parent | aa342c58f14c8bc402f69143e9451aaad878e6c3 (diff) | |
download | sonarqube-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.java | 3 |
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; |