diff options
Diffstat (limited to 'sonar-plugin-api/src')
3 files changed, 1 insertions, 14 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java index 50cf9c5810b..542f303e3bd 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/ce/posttask/PostProjectAnalysisTask.java @@ -19,7 +19,6 @@ */ package org.sonar.api.ce.posttask; -import java.util.Date; import java.util.Optional; import javax.annotation.CheckForNull; import org.sonar.api.ExtensionPoint; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java index 2f3397736cb..64ac7c8bbcd 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/server/rule/RulesDefinitionXmlLoader.java @@ -187,6 +187,7 @@ import static org.apache.commons.lang.StringUtils.trim; @ServerSide @ComputeEngineSide @SonarLintSide +@Deprecated public class RulesDefinitionXmlLoader { private static final String ELEMENT_RULES = "rules"; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java index 54f511321c6..781926a4f45 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/utils/ZipUtils.java @@ -222,17 +222,4 @@ public final class ZipUtils { public interface ZipEntryFilter { boolean accept(ZipEntry entry); } - - private static class ZipEntryFilterDelegate implements Predicate<ZipEntry> { - private final ZipEntryFilter delegate; - - private ZipEntryFilterDelegate(ZipEntryFilter delegate) { - this.delegate = delegate; - } - - @Override - public boolean test(ZipEntry zipEntry) { - return delegate.accept(zipEntry); - } - } } |