From: Simon Brandhof Date: Mon, 3 Feb 2014 14:20:22 +0000 (+0100) Subject: SONAR-926 flag classes org.sonar.java.api.JavaClass and JavaMethod as deprecated X-Git-Tag: 4.2~287 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3ab193022b286c35bd3d6ef1eaae138e22cc0b16;p=sonarqube.git SONAR-926 flag classes org.sonar.java.api.JavaClass and JavaMethod as deprecated --- diff --git a/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java b/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java index 1833fa27eb3..82352b5bc05 100644 --- a/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java +++ b/sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java @@ -24,7 +24,9 @@ import org.sonar.api.resources.*; /** * @since 2.6 + * @deprecated in 4.2. Only file system is handled by SonarQube, not logical components. */ +@Deprecated public final class JavaClass extends Resource { public static final String SCOPE = Scopes.PROGRAM_UNIT; diff --git a/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java b/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java index 67e3edc5161..06a1abfe947 100644 --- a/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java +++ b/sonar-java-api/src/main/java/org/sonar/java/api/JavaMethod.java @@ -24,7 +24,9 @@ import org.sonar.api.resources.*; /** * @since 2.6 + * @deprecated in 4.2. Only file system is handled by SonarQube, not logical components. */ +@Deprecated public final class JavaMethod extends Method { public static final String QUALIFIER = Qualifiers.METHOD;