diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-10 16:47:19 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2012-10-10 16:48:01 +0200 |
commit | 2295e6131a920023467dba0b3ea730f2f494c9c2 (patch) | |
tree | a575b82911b557082629d110b18d3844af36ad4e | |
parent | c7b8f20840b92862d4c0c487390a6f8b6ecd2c48 (diff) | |
download | sonarqube-2295e6131a920023467dba0b3ea730f2f494c9c2.tar.gz sonarqube-2295e6131a920023467dba0b3ea730f2f494c9c2.zip |
Fix quality flaw
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/JdkUtils.java | 2 |
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); } } |