From 5d4f33d87453a9737b7716d9d3b55b3300c03108 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Thu, 20 Feb 2014 14:35:11 +0100 Subject: [PATCH] Revert "SONAR-926 move InputFileUtils to sonar-deprecated" This reverts commit 289b8f4694ed08197a357d9ed6b2368ec0b2a6cb. --- .../src/main/java/org/sonar/api/resources/InputFileUtils.java | 3 --- .../test/java/org/sonar/api/resources/InputFileUtilsTest.java | 0 2 files changed, 3 deletions(-) rename {sonar-deprecated => sonar-plugin-api}/src/main/java/org/sonar/api/resources/InputFileUtils.java (95%) rename {sonar-deprecated => sonar-plugin-api}/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java (100%) diff --git a/sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java similarity index 95% rename from sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java rename to sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java index c3dd66ef675..576d2c18cec 100644 --- a/sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java @@ -34,9 +34,7 @@ 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() { @@ -46,7 +44,6 @@ 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-deprecated/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java similarity index 100% rename from sonar-deprecated/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java rename to sonar-plugin-api/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java -- 2.39.5