aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-02-20 14:35:11 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-02-20 14:35:11 +0100
commit5d4f33d87453a9737b7716d9d3b55b3300c03108 (patch)
treefee5762418cf15b43ba200b0eee7f34876e8e1c5
parent8e689273caa1b424206c691e1c068beb2a315241 (diff)
downloadsonarqube-5d4f33d87453a9737b7716d9d3b55b3300c03108.tar.gz
sonarqube-5d4f33d87453a9737b7716d9d3b55b3300c03108.zip
Revert "SONAR-926 move InputFileUtils to sonar-deprecated"
This reverts commit 289b8f4694ed08197a357d9ed6b2368ec0b2a6cb.
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/resources/InputFileUtils.java (renamed from sonar-deprecated/src/main/java/org/sonar/api/resources/InputFileUtils.java)3
-rw-r--r--sonar-plugin-api/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/resources/InputFileUtilsTest.java)0
2 files changed, 0 insertions, 3 deletions
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
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<java.io.File> toFiles(Collection<InputFile> inputFiles) {
List<java.io.File> 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
index 99bd3226c15..99bd3226c15 100644
--- 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