diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-21 12:24:43 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-02-21 12:24:43 +0100 |
commit | 515c2fe4b92cb845e9047ee15c0e4d484d6576ce (patch) | |
tree | aec8754c53f4af58fd7bfa18c4ecea4f0c1ed7dd /sonar-application | |
parent | 92338086272134042d1313384c50b82704b07481 (diff) | |
download | sonarqube-515c2fe4b92cb845e9047ee15c0e4d484d6576ce.tar.gz sonarqube-515c2fe4b92cb845e9047ee15c0e4d484d6576ce.zip |
Fix quality flaws
Diffstat (limited to 'sonar-application')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/FilteredLogger.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/FilteredLogger.java b/sonar-application/src/main/java/org/sonar/application/FilteredLogger.java index 41dbae338f9..f530ee07020 100644 --- a/sonar-application/src/main/java/org/sonar/application/FilteredLogger.java +++ b/sonar-application/src/main/java/org/sonar/application/FilteredLogger.java @@ -26,10 +26,6 @@ public class FilteredLogger implements Logger { private final String name; private final Logger delegate; - public FilteredLogger() { - this(null); - } - private FilteredLogger(String name) { this.name = name; this.delegate = new StdErrLog(name); @@ -45,7 +41,8 @@ public class FilteredLogger implements Logger { public void info(String msg, Object arg0, Object arg1) { if (msg.contains("JVM BUG(s)")) { - return; // Ignore, see SONAR-3866 + // Ignore, see SONAR-3866 + return; } delegate.info(msg, arg0, arg1); } |