Fix formatting for new files

This commit is contained in:
Victor Shcherb 2011-05-04 17:42:13 +02:00
parent 41adc913bd
commit cf487ee3ea

View file

@ -625,7 +625,7 @@ public class IndexBatchCreator {
System.err.println("ERROR : file " + f.getName() + " exceeded 200 mb!!! Could not be uploaded."); System.err.println("ERROR : file " + f.getName() + " exceeded 200 mb!!! Could not be uploaded.");
return false; // restriction for google code return false; // restriction for google code
} }
double originalLength = original.length() / MB; double originalLength = (double) original.length() / MB;
if (!uploadToOsmandDownloads) { if (!uploadToOsmandDownloads) {
try { try {
DownloaderIndexFromGoogleCode.deleteFileFromGoogleDownloads(f.getName(), token, pagegen, cookieHSID, cookieSID); DownloaderIndexFromGoogleCode.deleteFileFromGoogleDownloads(f.getName(), token, pagegen, cookieHSID, cookieSID);