diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-04-30 10:21:25 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2015-04-30 10:21:25 +0200 |
commit | 2ca371194a97a3e9a1a188412cc750cd61808b53 (patch) | |
tree | 29e1dd3c8653255b929704a78680d10d8f31b2e5 /sonar-plugin-api | |
parent | 6d6f75496e889609f33438327da848be4749a20a (diff) | |
download | sonarqube-2ca371194a97a3e9a1a188412cc750cd61808b53.tar.gz sonarqube-2ca371194a97a3e9a1a188412cc750cd61808b53.zip |
Fix quality flaws
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r-- | sonar-plugin-api/src/main/java/org/sonar/api/utils/log/BaseLogger.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/log/BaseLogger.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/log/BaseLogger.java index 8b33cf19f05..b038925176a 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/log/BaseLogger.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/log/BaseLogger.java @@ -207,6 +207,8 @@ abstract class BaseLogger implements Logger { case ERROR: error(msg); break; + default: + throw new IllegalArgumentException("Unsupported LoggerLevel value: " + level); } } } |