aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-java-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-02-07 22:32:45 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-02-07 22:32:45 +0100
commitc97c954dc12a5e978371a0deb19734121c1fcc2a (patch)
treeacf028c15d68838abc09393a915f206027f32239 /sonar-java-api
parenta34a3671bd0c8427ae3cdf165f7a2136713e875e (diff)
downloadsonarqube-c97c954dc12a5e978371a0deb19734121c1fcc2a.tar.gz
sonarqube-c97c954dc12a5e978371a0deb19734121c1fcc2a.zip
Rename Scopes.TYPE to Scopes.PROGRAM_UNIT
Diffstat (limited to 'sonar-java-api')
-rw-r--r--sonar-java-api/src/main/java/org/sonar/java/api/JavaClass.java2
1 files changed, 1 insertions, 1 deletions
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 59f046bf6ff..724be07867b 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
@@ -27,7 +27,7 @@ import org.sonar.api.resources.*;
*/
public final class JavaClass extends Resource {
- public static final String SCOPE = Scopes.TYPE;
+ public static final String SCOPE = Scopes.PROGRAM_UNIT;
public static final String QUALIFIER = Qualifiers.CLASS;
public static final int UNKNOWN_LINE = -1;