[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/install/sword s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Feb 27 19:21:42 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/install/sword
In directory www.crosswire.org:/tmp/cvs-serv26368/java/jsword/org/crosswire/jsword/book/install/sword

Modified Files:
	AbstractSwordInstaller.java 
Log Message:
Fixed the display of the conf (BD-16, 17 & 18)

Index: AbstractSwordInstaller.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/install/sword/AbstractSwordInstaller.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** AbstractSwordInstaller.java	26 Jan 2005 00:57:33 -0000	1.4
--- AbstractSwordInstaller.java	28 Feb 2005 02:21:40 -0000	1.5
***************
*** 28,31 ****
--- 28,32 ----
  import org.crosswire.jsword.book.install.InstallException;
  import org.crosswire.jsword.book.install.Installer;
+ import org.crosswire.jsword.book.sword.ConfigEntry;
  import org.crosswire.jsword.book.sword.SwordBookDriver;
  import org.crosswire.jsword.book.sword.SwordBookMetaData;
***************
*** 251,258 ****
          try
          {
              InputStream in = cache.openStream();
              GZIPInputStream gin = new GZIPInputStream(in);
              TarInputStream tin = new TarInputStream(gin);
- 
              while (true)
              {
--- 252,260 ----
          try
          {
+             ConfigEntry.resetStatistics();
+ 
              InputStream in = cache.openStream();
              GZIPInputStream gin = new GZIPInputStream(in);
              TarInputStream tin = new TarInputStream(gin);
              while (true)
              {
***************
*** 297,301 ****
                  }
              }
- 
              IOUtil.close(tin);
              IOUtil.close(gin);
--- 299,302 ----
***************
*** 303,306 ****
--- 304,309 ----
  
              loaded = true;
+ 
+             ConfigEntry.dumpStatistics();
          }
          catch (IOException ex)



More information about the jsword-svn mailing list