aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-batch/src/main/java/org
diff options
context:
space:
mode:
authorSimonBrandhof <simon.brandhof@gmail.com>2013-04-08 10:46:01 +0200
committerSimonBrandhof <simon.brandhof@gmail.com>2013-04-08 10:46:01 +0200
commit3df1496b29c383b09ff4a2882620f6b922a7196c (patch)
tree169017b445759961e46569d2d5845917f57a9600 /sonar-runner-batch/src/main/java/org
parent6c7937c683da38f7d87ce4e7064707ceea95e7ff (diff)
downloadsonar-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.java6
-rw-r--r--sonar-runner-batch/src/main/java/org/sonar/runner/batch/Utils.java2
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, ""), ','));
}