[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/search/parse s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Wed Mar 9 17:09:14 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/search/parse
In directory www.crosswire.org:/tmp/cvs-serv29313/java/jsword/org/crosswire/jsword/book/search/parse

Modified Files:
	CustomTokenizer.java 
Log Message:
Fixed another bug (hopefully the last in the lucene passthrough)
Commented out the button on the right of the bible picker.

Index: CustomTokenizer.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/search/parse/CustomTokenizer.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** CustomTokenizer.java	9 Mar 2005 02:26:03 -0000	1.11
--- CustomTokenizer.java	10 Mar 2005 00:09:12 -0000	1.12
***************
*** 90,94 ****
              // as a single word. If there is no trailing :: take it
              // to the end of the line
!             if (i < sought.length() - 4 && sought.indexOf("::", i) == i) //$NON-NLS-1$
              {
                  int end = sought.indexOf("::", i + 2); //$NON-NLS-1$
--- 90,94 ----
              // as a single word. If there is no trailing :: take it
              // to the end of the line
!             if (i != sought.length() && sought.indexOf("::", i) == i) //$NON-NLS-1$
              {
                  int end = sought.indexOf("::", i + 2); //$NON-NLS-1$
***************
*** 100,104 ****
                  else
                  {
!                     addWord(output, commands, sought.substring(i + 1, end));
                      i = end + 2;
                  }
--- 100,104 ----
                  else
                  {
!                     addWord(output, commands, sought.substring(i + 2, end));
                      i = end + 2;
                  }



More information about the jsword-svn mailing list