aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2014-10-08 10:32:49 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2014-10-08 10:35:23 +0200
commit00a71853b7b223005c429e7582ee01b59f5ff50f (patch)
tree7156e70d0ceb0a2ec2aae41026337f9573eb8084 /sonar-batch
parent80a03bbd9e4b3d59113832ceee4c39b5e9c1bb70 (diff)
downloadsonarqube-00a71853b7b223005c429e7582ee01b59f5ff50f.tar.gz
sonarqube-00a71853b7b223005c429e7582ee01b59f5ff50f.zip
Fix some quality flaws
Diffstat (limited to 'sonar-batch')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java b/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java
index be3185f7b6d..cc0d2577e82 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/mediumtest/BatchMediumTester.java
@@ -89,7 +89,7 @@ public class BatchMediumTester {
public static class BatchMediumTesterBuilder {
private final FakeGlobalReferentialsLoader globalRefProvider = new FakeGlobalReferentialsLoader();
private final FakeProjectReferentialsLoader projectRefProvider = new FakeProjectReferentialsLoader();
- private final FackPluginsReferential pluginsReferential = new FackPluginsReferential();
+ private final FakePluginsReferential pluginsReferential = new FakePluginsReferential();
private final Map<String, String> bootstrapProperties = new HashMap<String, String>();
public BatchMediumTester build() {
@@ -378,7 +378,7 @@ public class BatchMediumTester {
}
}
- private static class FackPluginsReferential implements PluginsReferential {
+ private static class FakePluginsReferential implements PluginsReferential {
private List<RemotePlugin> pluginList = new ArrayList<RemotePlugin>();
private Map<RemotePlugin, File> pluginFiles = new HashMap<RemotePlugin, File>();
@@ -394,15 +394,15 @@ public class BatchMediumTester {
return pluginFiles.get(remote);
}
- public FackPluginsReferential addPlugin(String pluginKey, File location) {
+ public FakePluginsReferential addPlugin(String pluginKey, File location) {
RemotePlugin plugin = new RemotePlugin(pluginKey, false);
pluginList.add(plugin);
pluginFiles.put(plugin, location);
return this;
}
- public FackPluginsReferential addPlugin(String pluginKey, SonarPlugin pluginInstance) {
- localPlugins.put(DefaultPluginMetadata.create(null).setKey(pluginKey), pluginInstance);
+ public FakePluginsReferential addPlugin(String pluginKey, SonarPlugin pluginInstance) {
+ localPlugins.put(DefaultPluginMetadata.create(pluginKey), pluginInstance);
return this;
}