diff options
author | SimonBrandhof <simon.brandhof@gmail.com> | 2013-04-08 10:46:01 +0200 |
---|---|---|
committer | SimonBrandhof <simon.brandhof@gmail.com> | 2013-04-08 10:46:01 +0200 |
commit | 3df1496b29c383b09ff4a2882620f6b922a7196c (patch) | |
tree | 169017b445759961e46569d2d5845917f57a9600 /sonar-runner-batch/src/main/java/org | |
parent | 6c7937c683da38f7d87ce4e7064707ceea95e7ff (diff) | |
download | sonar-scanner-cli-3df1496b29c383b09ff4a2882620f6b922a7196c.tar.gz sonar-scanner-cli-3df1496b29c383b09ff4a2882620f6b922a7196c.zip |
Delete the generated sonar-runner-batch.jar in temp dir
Diffstat (limited to 'sonar-runner-batch/src/main/java/org')
-rw-r--r-- | sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java | 6 | ||||
-rw-r--r-- | sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java index a0f557b..227e577 100644 --- a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java +++ b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java @@ -46,7 +46,7 @@ import java.util.Properties; * * @since 1.5 */ -public final class ProjectReactorBuilder { +class ProjectReactorBuilder { private static final Logger LOG = LoggerFactory.getLogger(ProjectReactorBuilder.class); @@ -113,11 +113,11 @@ public final class ProjectReactorBuilder { private Properties properties; private File rootProjectWorkDir; - public ProjectReactorBuilder(Properties properties) { + ProjectReactorBuilder(Properties properties) { this.properties = properties; } - public ProjectReactor build() { + ProjectReactor build() { ProjectDefinition rootProject = defineProject(properties, null); rootProjectWorkDir = rootProject.getWorkDir(); defineChildren(rootProject); diff --git a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java index 99d8f37..8bf39f9 100644 --- a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java +++ b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java @@ -38,7 +38,7 @@ class Utils { * This works even if they are separated by whitespace characters (space char, EOL, ...) * */ - public static String[] getListFromProperty(Properties properties, String key) { + static String[] getListFromProperty(Properties properties, String key) { return StringUtils.stripAll(StringUtils.split(properties.getProperty(key, ""), ',')); } |