]> source.dussan.org Git - sonarqube.git/commitdiff
Remove deprecated constants of org.sonar.api.resources.Resource (deprecated since...
authorsimonbrandhof <simon.brandhof@gmail.com>
Mon, 24 Jan 2011 13:37:45 +0000 (14:37 +0100)
committersimonbrandhof <simon.brandhof@gmail.com>
Mon, 24 Jan 2011 18:24:59 +0000 (19:24 +0100)
sonar-plugin-api/src/main/java/org/sonar/api/resources/Resource.java

index 0b470243b6705ba0800b50ae6dcd01efff6991d1..ab1db1848c31b6c1f6a75398527f696d25963801 100644 (file)
@@ -30,24 +30,6 @@ public abstract class Resource<PARENT extends Resource> {
   public static final String SCOPE_SPACE = "DIR";
   public static final String SCOPE_ENTITY = "FIL";
 
-  /**
-   * @deprecated since 1.11, use {@link #SCOPE_SET} instead.
-   */
-  @Deprecated
-  public static final String SCOPE_PROJECT = SCOPE_SET;
-
-  /**
-   * @deprecated since 1.11, use {@link #SCOPE_SPACE} instead.
-   */
-  @Deprecated
-  public static final String SCOPE_DIRECTORY = SCOPE_SPACE;
-
-  /**
-   * @deprecated since 1.11, use {@link #SCOPE_ENTITY} instead.
-   */
-  @Deprecated
-  public static final String SCOPE_FILE = SCOPE_ENTITY;
-
   public static final String QUALIFIER_VIEW = "VW";
   public static final String QUALIFIER_SUBVIEW = "SVW";
   public static final String QUALIFIER_LIB = "LIB";
@@ -61,18 +43,6 @@ public abstract class Resource<PARENT extends Resource> {
   public static final String QUALIFIER_METHOD = "MET";
   public static final String QUALIFIER_UNIT_TEST_CLASS = "UTS";
 
-  /**
-   * @deprecated since 1.11, use {@link #QUALIFIER_PROJECT} instead.
-   */
-  @Deprecated
-  public static final String QUALIFIER_PROJECT_TRUNK = QUALIFIER_PROJECT;
-
-  /**
-   * @deprecated since 1.11, use {@link #QUALIFIER_MODULE} instead.
-   */
-  @Deprecated
-  public static final String QUALIFIER_PROJECT_BRANCH = QUALIFIER_MODULE;
-
   private Integer id = null;
 
   private String key = null;