From 3df1496b29c383b09ff4a2882620f6b922a7196c Mon Sep 17 00:00:00 2001 From: SimonBrandhof Date: Mon, 8 Apr 2013 10:46:01 +0200 Subject: Delete the generated sonar-runner-batch.jar in temp dir --- .../src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java | 6 +++--- sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sonar-runner-batch/src') 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, ""), ',')); } -- cgit v1.2.3