aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-plugin-api')
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java2
-rw-r--r--sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java2
2 files changed, 4 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java
index 52318045214..aafc4d44454 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java
@@ -101,7 +101,9 @@ public interface FileSystem {
* @throws IllegalArgumentException is File is null or not a directory.
*
* @since 4.5
+ * @deprecated since 6.6 Ability to report issues or measures on directories will soon be dropped. Report issues on project if needed.
*/
+ @Deprecated
@CheckForNull
InputDir inputDir(File dir);
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java
index 434fd7d7281..4d18978cbc4 100644
--- a/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java
+++ b/sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java
@@ -26,7 +26,9 @@ import java.nio.file.Path;
* Layer over {@link java.io.File} for directories. You can access InputDir using {@link FileSystem#inputDir(File)}.
*
* @since 4.5
+ * @deprecated since 6.6 Ability to report issues or measures on directories will soon be dropped. Report issues on project if needed.
*/
+@Deprecated
public interface InputDir extends InputPath {
/**