aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-02-20 15:16:49 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-02-20 15:16:49 +0100
commite7c5bad012f4798d5e8c9b9c15bb18990202ed0f (patch)
treecc637eff0b087241920cf604a2009d392f96e5f2 /sonar-core
parent12a8d26ceb6b46e87fbbd0d683630fa5463bd848 (diff)
downloadsonarqube-e7c5bad012f4798d5e8c9b9c15bb18990202ed0f.tar.gz
sonarqube-e7c5bad012f4798d5e8c9b9c15bb18990202ed0f.zip
Do no set parent value to key value if no parent in metadata
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java b/sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java
index 84fab448492..b0325204fc0 100644
--- a/sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java
+++ b/sonar-core/src/main/java/org/sonar/core/plugins/DefaultPluginMetadata.java
@@ -188,7 +188,7 @@ public class DefaultPluginMetadata implements PluginMetadata, Comparable<PluginM
}
public String getParent() {
- return parent != null ? parent : key;
+ return parent;
}
public DefaultPluginMetadata setParent(String parent) {