aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-squid
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-squid')
-rw-r--r--sonar-squid/src/main/java/org/sonar/squid/text/StringArrayReader.java2
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
}
}
}