From 289b8f4694ed08197a357d9ed6b2368ec0b2a6cb Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 20 Feb 2014 13:08:04 +0100 Subject: [PATCH] SONAR-926 move InputFileUtils to sonar-deprecated --- .../src/main/java/org/sonar/api/resources/InputFileUtils.java | 3 +++ .../test/java/org/sonar/api/resources/InputFileUtilsTest.java | 0 2 files changed, 3 insertions(+) rename {sonar-plugin-api => sonar-deprecated}/src/main/java/org/sonar/api/resources/InputFileUtils.java (95%) rename {sonar-plugin-api => sonar-deprecated}/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java (100%) diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java b/sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java similarity index 95% rename from sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java rename to sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java index 576d2c18cec..c3dd66ef675 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java +++ b/sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java @@ -34,7 +34,9 @@ import java.util.List; /** * @since 2.8 + * @deprecated in 4.2. Useless when using by {@link org.sonar.api.batch.fs.FileSystem}. */ +@Deprecated public final class InputFileUtils { private InputFileUtils() { @@ -44,6 +46,7 @@ public final class InputFileUtils { /** * @param inputFiles not nullable * @return not null list + * @deprecated in 4.2. Use {@link org.sonar.api.batch.fs.FileSystem#files(org.sonar.api.batch.fs.FilePredicate)} */ public static List toFiles(Collection inputFiles) { List files = Lists.newArrayList(); diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java b/sonar-deprecated/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java similarity index 100% rename from sonar-plugin-api/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java rename to sonar-deprecated/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java -- 2.39.5