aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-home
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-home')
-rw-r--r--sonar-home/src/main/java/org/sonar/home/cache/FileCache.java1
-rw-r--r--sonar-home/src/main/java/org/sonar/home/log/Slf4jLog.java4
-rw-r--r--sonar-home/src/main/java/org/sonar/home/log/StandardLog.java4
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) {
}
}