diff options
Diffstat (limited to 'sonar-squid')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java | 3 | ||||
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java b/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java index 86d50b66421..44da56e117b 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/LiteralValueHandler.java @@ -55,6 +55,7 @@ public class LiteralValueHandler extends LineContextHandler { @Override boolean matchWithEndOfLine(Line line, StringBuilder pendingLine) { - return true; //see http://jira.codehaus.org/browse/SONAR-1555 + //see http://jira.codehaus.org/browse/SONAR-1555 + return true; } } diff --git a/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java b/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java index 0fb92a49738..c430fbaccfc 100644 --- a/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java +++ b/sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java @@ -60,7 +60,8 @@ public class StringArrayReader extends Reader { content.append("\r\n"); break; default: - throw new IllegalStateException(); // should never happen + // should never happen + throw new IllegalStateException(); } } } |