Removal of test/debug code.

Removed main() method from LocalTemplateDownloader.java
This commit is contained in:
borisroman 2015-09-09 11:16:14 +02:00
parent 28d18dce00
commit 5f2c732a2c
1 changed files with 0 additions and 12 deletions

View File

@ -159,16 +159,4 @@ public class LocalTemplateDownloader extends TemplateDownloaderBase implements T
}
}
}
public static void main(String[] args) {
String url = "file:///home/ahuang/Download/E3921_P5N7A-VM_manual.zip";
TemplateDownloader td = new LocalTemplateDownloader(null, url, "/tmp/mysql", TemplateDownloader.DEFAULT_MAX_TEMPLATE_SIZE_IN_BYTES, null);
long bytes = td.download(true, null);
if (bytes > 0) {
System.out.println("Downloaded (" + bytes + " bytes)" + " in " + td.getDownloadTime() / 1000 + " secs");
} else {
System.out.println("Failed download");
}
}
}