From 0aa289a5926819abf28961be3d2f1e772648e9fb Mon Sep 17 00:00:00 2001 From: Evgeny Mandrikov Date: Fri, 17 Feb 2012 12:48:07 +0400 Subject: Fix some quality flaws --- sonar-squid/src/main/java/org/sonar/squid/text/Line.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sonar-squid') 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 { + 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 { private boolean isBlank; private boolean isThereJavadoc; private boolean isThereLicenseHeaderComment; - private final static String NOSONAR_TAG = "NOSONAR"; Line() { this.lineIndex = 0; -- cgit v1.2.3