aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-bootstrapper
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 14:05:55 +0300
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-01-31 14:08:43 +0300
commitdc7c07b8458ea35d0862c6afbd8eae3ae57162e6 (patch)
tree4d8ff15b94aad54a1a5c834642845f60684d276b /sonar-batch-bootstrapper
parent2162d1471ebe84f0d09b57ea3fccc6a452548257 (diff)
downloadsonarqube-dc7c07b8458ea35d0862c6afbd8eae3ae57162e6.tar.gz
sonarqube-dc7c07b8458ea35d0862c6afbd8eae3ae57162e6.zip
Fix bug in BatchDownloader
Diffstat (limited to 'sonar-batch-bootstrapper')
-rw-r--r--sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java b/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
index 27b28df1cf7..250559a0752 100644
--- a/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
+++ b/sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java
@@ -77,7 +77,7 @@ public class BatchDownloader {
String libs = remoteContent(BATCH_PATH);
for (String lib : libs.split("\n")) {
- if ("".equals(lib)) {
+ if (!"".equals(lib)) {
File file = new File(toDir, lib);
remoteContentToFile(BATCH_PATH + lib, file);
files.add(file);