[jsword-svn] jsword/java/jsword/org/crosswire/jsword/passage s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Mar 23 05:53:33 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/passage
In directory www.crosswire.org:/tmp/cvs-serv2529/java/jsword/org/crosswire/jsword/passage

Modified Files:
	BibleInfo.java 
Log Message:
Fixed the performance problem of indexing a single testament.
Fixed the problem of BookExceptions being thrown during indexing causing a corrupt index.

Index: BibleInfo.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/passage/BibleInfo.java,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** BibleInfo.java	19 Mar 2005 18:44:58 -0000	1.29
--- BibleInfo.java	23 Mar 2005 12:53:31 -0000	1.30
***************
*** 201,210 ****
          try
          {
!             if (bookCase.equals(CaseType.LOWER))
              {
                  return fullBooksLower[book - 1];
              }
  
!             if (bookCase.equals(CaseType.UPPER))
              {
                  return fullBooksUpper[book - 1];
--- 201,210 ----
          try
          {
!             if (bookCase == CaseType.LOWER)
              {
                  return fullBooksLower[book - 1];
              }
  
!             if (bookCase == CaseType.UPPER)
              {
                  return fullBooksUpper[book - 1];



More information about the jsword-svn mailing list