diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-10 00:01:22 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-10-10 00:01:23 +0200 |
commit | 736c775bfc2cde38a53e4d43f858d3a3b6728c34 (patch) | |
tree | caee18e0a6007e19e8ee81d64a2b1e8dfe17a847 /sonar-home/src/main/java | |
parent | 7d562d641868532e5edbd6f03fac739eff9bcc90 (diff) | |
download | sonarqube-736c775bfc2cde38a53e4d43f858d3a3b6728c34.tar.gz sonarqube-736c775bfc2cde38a53e4d43f858d3a3b6728c34.zip |
Add missing @Override annotations
Diffstat (limited to 'sonar-home/src/main/java')
3 files changed, 9 insertions, 0 deletions
diff --git a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java index 37a81e17fcf..090546c21cf 100644 --- a/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java +++ b/sonar-home/src/main/java/org/sonar/home/cache/FileCache.java @@ -209,6 +209,7 @@ public class FileCache { } private static final class LibFilter implements ZipUtils.ZipEntryFilter { + @Override public boolean accept(ZipEntry entry) { return entry.getName().startsWith("META-INF/lib"); } diff --git a/sonar-home/src/main/java/org/sonar/home/log/Slf4jLog.java b/sonar-home/src/main/java/org/sonar/home/log/Slf4jLog.java index e63be97f658..03ff7029ff8 100644 --- a/sonar-home/src/main/java/org/sonar/home/log/Slf4jLog.java +++ b/sonar-home/src/main/java/org/sonar/home/log/Slf4jLog.java @@ -38,18 +38,22 @@ public class Slf4jLog implements Log { return logger.isDebugEnabled(); } + @Override public void debug(String s) { logger.debug(s); } + @Override public void info(String s) { logger.info(s); } + @Override public void warn(String s) { logger.warn(s); } + @Override public void error(String s, Throwable throwable) { logger.error(s, throwable); } diff --git a/sonar-home/src/main/java/org/sonar/home/log/StandardLog.java b/sonar-home/src/main/java/org/sonar/home/log/StandardLog.java index bd221faf7c7..fa4402d15ca 100644 --- a/sonar-home/src/main/java/org/sonar/home/log/StandardLog.java +++ b/sonar-home/src/main/java/org/sonar/home/log/StandardLog.java @@ -20,15 +20,19 @@ package org.sonar.home.log; public class StandardLog implements Log { + @Override public void debug(String s) { } + @Override public void info(String s) { } + @Override public void warn(String s) { } + @Override public void error(String s, Throwable throwable) { } } |