]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-9651 Deprecate ability to create issues/measures on directories
authorJulien HENRY <julien.henry@sonarsource.com>
Thu, 7 Sep 2017 15:44:23 +0000 (17:44 +0200)
committerJulien HENRY <julien.henry@sonarsource.com>
Fri, 15 Sep 2017 06:51:08 +0000 (08:51 +0200)
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/FileSystem.java
sonar-plugin-api/src/main/java/org/sonar/api/batch/fs/InputDir.java

index 523180452148f870b489d4bf6fc3e574caaf71eb..aafc4d444543721e631a9e9cc0a51700a4b7168a 100644 (file)
@@ -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);
 
index 434fd7d7281280d6850b5d2cc1a078e36b5ab11d..4d18978cbc40b028ed00a95875e7dfeb2af32dd2 100644 (file)
@@ -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 {
 
   /**