diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-17 15:44:09 +0100 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2014-03-17 15:46:12 +0100 |
commit | 3c664c31994c3e93f40e395f7b8339e8fa43ae11 (patch) | |
tree | 06273f002552a6461a896b3c314bd0f90f915cbe /sonar-plugin-api/src | |
parent | 2ec12bf1b6ea57eaaa2f1feae0df1b2f3f702d3c (diff) | |
download | sonarqube-3c664c31994c3e93f40e395f7b8339e8fa43ae11.tar.gz sonarqube-3c664c31994c3e93f40e395f7b8339e8fa43ae11.zip |
Remove Component.moduleKey
Diffstat (limited to 'sonar-plugin-api/src')
3 files changed, 0 insertions, 18 deletions
diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/Component.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/Component.java index 1c0a3153f86..e68ed4cfa42 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/component/Component.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/Component.java @@ -32,14 +32,6 @@ public interface Component<C extends Component> { @CheckForNull String path(); - /** - * Key of the module this component belong to. - * @return null for components that are module themself - * @since 4.2 - */ - @CheckForNull - String moduleKey(); - String name(); String longName(); diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/MockSourceFile.java b/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/MockSourceFile.java index 66741f62436..1c6e70a7863 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/MockSourceFile.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/component/mock/MockSourceFile.java @@ -52,11 +52,6 @@ public class MockSourceFile implements SourceFile { return this; } - @Override - public String moduleKey() { - return moduleKey; - } - public MockSourceFile setModuleKey(String moduleKey) { this.moduleKey = moduleKey; return this; diff --git a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java index 3b64635aa50..7eafff80610 100644 --- a/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java +++ b/sonar-plugin-api/src/main/java/org/sonar/api/resources/Project.java @@ -492,11 +492,6 @@ public class Project extends Resource implements Component { } @Override - public String moduleKey() { - return null; - } - - @Override public String name() { return getName(); } |