summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-10-10 16:47:19 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2012-10-10 16:48:01 +0200
commit2295e6131a920023467dba0b3ea730f2f494c9c2 (patch)
treea575b82911b557082629d110b18d3844af36ad4e
parentc7b8f20840b92862d4c0c487390a6f8b6ecd2c48 (diff)
downloadsonarqube-2295e6131a920023467dba0b3ea730f2f494c9c2.tar.gz
sonarqube-2295e6131a920023467dba0b3ea730f2f494c9c2.zip
Fix quality flaw
-rw-r--r--sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java
index 3643750f43c..b0e55b1bcf3 100644
--- a/sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java
+++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java
@@ -45,7 +45,7 @@ public final class JdkUtils extends WSUtils {
return URLEncoder.encode(url, "UTF-8");
} catch (UnsupportedEncodingException e) {
- throw new RuntimeException(e);
+ throw new IllegalStateException(e);
}
}