diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2014-02-10 17:42:57 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2014-02-10 18:14:59 +0100 |
commit | 00cbf3a200229d6a2a746a180a642ebf623eb8db (patch) | |
tree | f3ba41fd6a471ac0daec2267ff5dc2200cb74490 | |
parent | 08f2f1c2a8f60f79b626c871782b5864581a12d8 (diff) | |
download | sonarqube-00cbf3a200229d6a2a746a180a642ebf623eb8db.tar.gz sonarqube-00cbf3a200229d6a2a746a180a642ebf623eb8db.zip |
SONAR-926 Deprecate PAC and CLA in WS Client
-rw-r--r-- | sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java index 7983e585643..71beb18709c 100644 --- a/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java +++ b/sonar-ws-client/src/main/java/org/sonar/wsclient/services/Resource.java @@ -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(); } } |