]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-926 Deprecate PAC and CLA in WS Client
authorJulien HENRY <julien.henry@sonarsource.com>
Mon, 10 Feb 2014 16:42:57 +0000 (17:42 +0100)
committerJulien HENRY <julien.henry@sonarsource.com>
Mon, 10 Feb 2014 17:14:59 +0000 (18:14 +0100)
sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java

index 7983e58564372c11f9783258c34f86afe85b9d67..71beb18709c29a1036ad1963ffd2afbaadc7911d 100644 (file)
@@ -39,9 +39,17 @@ public class Resource extends Model {
   public static final String QUALIFIER_LIB = "LIB";
   public static final String QUALIFIER_PROJECT = "TRK";
   public static final String QUALIFIER_MODULE = "BRC";
+  /**
+   * @deprecated since 4.2
+   */
+  @Deprecated
   public static final String QUALIFIER_PACKAGE = "PAC";
   public static final String QUALIFIER_DIRECTORY = "DIR";
   public static final String QUALIFIER_FILE = "FIL";
+  /**
+   * @deprecated since 4.2
+   */
+  @Deprecated
   public static final String QUALIFIER_CLASS = "CLA";
   public static final String QUALIFIER_UNIT_TEST_CLASS = "UTS";
 
@@ -482,11 +490,11 @@ public class Resource extends Model {
   @Override
   public String toString() {
     return new StringBuilder()
-        .append("[id=")
-        .append(id)
-        .append(",key=")
-        .append(key)
-        .append("]")
-        .toString();
+      .append("[id=")
+      .append(id)
+      .append(",key=")
+      .append(key)
+      .append("]")
+      .toString();
   }
 }