]> source.dussan.org Git - sonarqube.git/commitdiff
Fix bug in BatchDownloader
authorEvgeny Mandrikov <mandrikov@gmail.com>
Mon, 31 Jan 2011 11:05:55 +0000 (14:05 +0300)
committerEvgeny Mandrikov <mandrikov@gmail.com>
Mon, 31 Jan 2011 11:08:43 +0000 (14:08 +0300)
sonar-batch-bootstrapper/src/main/java/org/sonar/batch/bootstrapper/BatchDownloader.java

index 27b28df1cf7ba74da85d407e60aa69713a7179e4..250559a075239145f0a72955207dd53cf3f7545c 100644 (file)
@@ -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);