diff options
author | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-26 15:57:35 +0400 |
---|---|---|
committer | Evgeny Mandrikov <mandrikov@gmail.com> | 2011-10-26 21:48:18 +0400 |
commit | 0515a6312bccac7e56dd409e0c906a8bb825a014 (patch) | |
tree | b94177ee7b39edd64ee562f63930424b4ff21245 /sonar-squid | |
parent | 911c66cab3137ba840b856a4750088ea6709064f (diff) | |
download | sonarqube-0515a6312bccac7e56dd409e0c906a8bb825a014.tar.gz sonarqube-0515a6312bccac7e56dd409e0c906a8bb825a014.zip |
Fix violations
Diffstat (limited to 'sonar-squid')
-rw-r--r-- | sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java | 2 |
1 files changed, 2 insertions, 0 deletions
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 66c82baa972..054327d51e3 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 @@ -59,6 +59,8 @@ public class StringArrayReader extends Reader { case CR_PLUS_LF: content.append("\r\n"); break; + default: + throw new IllegalStateException(); // should never happen } } } |