Revision: 00051cf1860e Branch: WithBrailleFormatting Author: Brandon Roller <brandon.r.roller@xxxxxxxxx> Date: Wed Jul 10 11:19:29 2013 Log: Fixed typo regarding normalizing zip files http://code.google.com/p/brailleblaster/source/detail?r=00051cf1860e&repo=newdesign Modified: /src/main/org/brailleblaster/wordprocessor/DocumentManager.java =======================================--- /src/main/org/brailleblaster/wordprocessor/DocumentManager.java Wed Jul 10 05:34:57 2013 +++ /src/main/org/brailleblaster/wordprocessor/DocumentManager.java Wed Jul 10 11:19:29 2013
@@ -247,7 +247,7 @@ // Zip and Recent Files. ////////////////////////- String tempPath = BBIni.getTempFilesPath() + BBIni.getFileSep() + workingFilePath.substring(fileName.lastIndexOf(BBIni.getFileSep()), fileName.lastIndexOf(".")) + "_temp.xml"; + String tempPath = BBIni.getTempFilesPath() + workingFilePath.substring( workingFilePath.lastIndexOf(BBIni.getFileSep()), workingFilePath.lastIndexOf(".")) + "_temp.xml";
normalizeFile(workingFilePath, tempPath); initializeAllViews(fileName, tempPath); } @@ -258,7 +258,7 @@ } private void initializeAllViews(String fileName, String filePath){ - //long start = System.currentTimeMillis(); + // long start = System.currentTimeMillis(); try{if(this.document.startDocument(filePath, BBIni.getDefaultConfigFile(), null)){
this.group.setRedraw(false); @@ -294,8 +294,8 @@ catch(Exception e){ e.printStackTrace(); } - //long end = System.currentTimeMillis(); - //System.out.println("TOTAL: " + (end - start)); + // long end = System.currentTimeMillis(); + // System.out.println("TOTAL: " + (end - start)); } private void initializeViews(Node current){