diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-02-20 15:16:49 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-02-20 15:16:49 +0100 |
commit | e7c5bad012f4798d5e8c9b9c15bb18990202ed0f (patch) | |
tree | cc637eff0b087241920cf604a2009d392f96e5f2 /sonar-core | |
parent | 12a8d26ceb6b46e87fbbd0d683630fa5463bd848 (diff) | |
download | sonarqube-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.java | 2 |
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) { |