summaryrefslogtreecommitdiffstats
path: root/sonar-java-api
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-01-25 19:10:20 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-01-25 19:26:43 +0100
commite7de7db7a3a3de0bf7961f0b5210156182622f10 (patch)
treea638d3b82ebf27f68184c527df61fff9923502ab /sonar-java-api
parentf3b88bb8e5a57a215e59dcc5c38f550433c9a1eb (diff)
downloadsonarqube-e7de7db7a3a3de0bf7961f0b5210156182622f10.tar.gz
sonarqube-e7de7db7a3a3de0bf7961f0b5210156182622f10.zip
Improve backward-compatibility when adding data to a non-indexed resource
Diffstat (limited to 'sonar-java-api')
-rw-r--r--sonar-java-api/src/main/java/org/sonar/java/api/JavaUtils.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-java-api/src/main/java/org/sonar/java/api/JavaUtils.java b/sonar-java-api/src/main/java/org/sonar/java/api/JavaUtils.java
index dad567cc1e3..9fa234f5626 100644
--- a/sonar-java-api/src/main/java/org/sonar/java/api/JavaUtils.java
+++ b/sonar-java-api/src/main/java/org/sonar/java/api/JavaUtils.java
@@ -24,6 +24,7 @@ import org.apache.commons.lang.StringUtils;
public final class JavaUtils {
public static final String PACKAGE_SEPARATOR = ".";
+ public static final String DEFAULT_PACKAGE = "[default]";
/**
* All sensors executed after this barrier are sure that all Java resources are indexed.