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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Oct 6 15:52:25 MST 2004


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

Modified Files:
	SwordBookDriver.java 
Log Message:
[BD-2] and linked issues

Index: SwordBookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/sword/SwordBookDriver.java,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** SwordBookDriver.java	2 Oct 2004 14:01:42 -0000	1.33
--- SwordBookDriver.java	6 Oct 2004 22:52:22 -0000	1.34
***************
*** 180,190 ****
      /**
       * Accessor for the Sword directory
!      * @param dirs The new Sword directory
       * @throws BookException
       */
!     public static void setSwordPath(File[] dirs) throws BookException
      {
!         dirs = validateSwordPath(dirs);
!         if (dirs == null)
          {
              return;
--- 180,190 ----
      /**
       * Accessor for the Sword directory
!      * @param newDirs The new Sword directory
       * @throws BookException
       */
!     public static void setSwordPath(File[] newDirs) throws BookException
      {
!         newDirs = validateSwordPath(newDirs);
!         if (newDirs == null)
          {
              return;
***************
*** 198,202 ****
          }
  
!         SwordBookDriver.dirs = dirs;
  
          // Now we need to register ourselves
--- 198,202 ----
          }
  
!         SwordBookDriver.dirs = newDirs;
  
          // Now we need to register ourselves
***************
*** 252,256 ****
              if (pos == -1)
              {
!                 File[] temp = new File[dirs.length + 1];
                  temp[0] = downloadDir;
                  for (int i = 0; i < files.length; i++)
--- 252,256 ----
              if (pos == -1)
              {
!                 File[] temp = new File[files.length + 1];
                  temp[0] = downloadDir;
                  for (int i = 0; i < files.length; i++)



More information about the jsword-svn mailing list