Revision: 20d6d02c598d Branch: default Author: cmyers@xxxxxxxxxxxxxxxxx Date: Mon Jul 28 19:01:59 2014 UTC Log: Removed timer for zipper and segmentation. http://code.google.com/p/brailleblaster/source/detail?r=20d6d02c598d Modified: /src/main/org/brailleblaster/archiver/NimasArchiver.java =======================================--- /src/main/org/brailleblaster/archiver/NimasArchiver.java Mon Jul 28 18:58:18 2014 UTC +++ /src/main/org/brailleblaster/archiver/NimasArchiver.java Mon Jul 28 19:01:59 2014 UTC
@@ -97,13 +97,8 @@ // Segment the single NIMAS file. This will make rendering // faster in certain perspectives. - // CHUCK: TODO: Delete timer stuff. - long timerStart = System.currentTimeMillis(); - - // Write the first file to disk. - wrtieToDisk(0); -- System.out.println("wrtieToDisk() took: " + (System.currentTimeMillis() - timerStart) + " Milliseconds");
+ // Write the first file to disk. + wrtieToDisk(0); } @Override @@ -143,13 +138,7 @@// workingFilePath = unzipr.Unzip(fileName, fileName.substring(0, fileName.lastIndexOf(".")) + BBIni.getFileSep());
String sp = BBIni.getFileSep();String tempOutPath = BBIni.getTempFilesPath() + filePath.substring(filePath.lastIndexOf(sp), filePath.lastIndexOf(".")) + sp;
- - // CHUCK: TODO: Remove timer stuff. - long timerStart = System.currentTimeMillis(); - - workingDocPath = unzipr.Unzip(filePath, tempOutPath); -- System.out.println("Unzipping took: " + (System.currentTimeMillis() - timerStart) + " Milliseconds");
+ workingDocPath = unzipr.Unzip(filePath, tempOutPath); // Store paths. zippedPath = filePath;