[jsword-svn] jsword/java/jswordtest/org/crosswire/jsword/book/test s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sat Oct 9 14:45:06 MST 2004


Update of /cvs/jsword/jsword/java/jswordtest/org/crosswire/jsword/book/test
In directory www.crosswire.org:/tmp/cvs-serv30045/java/jswordtest/org/crosswire/jsword/book/test

Modified Files:
	Speed.java 
Log Message:
indexing updates

Index: Speed.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jswordtest/org/crosswire/jsword/book/test/Speed.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** Speed.java	27 Jul 2004 21:42:38 -0000	1.7
--- Speed.java	9 Oct 2004 21:45:04 -0000	1.8
***************
*** 3,7 ****
  import org.crosswire.common.util.Reporter;
  import org.crosswire.jsword.book.Book;
- import org.crosswire.jsword.book.Search;
  import org.crosswire.jsword.passage.Key;
  import org.crosswire.jsword.passage.KeyUtil;
--- 3,6 ----
***************
*** 74,78 ****
  
              // Part 1, a best match, and doc generate
!             tally = (PassageTally) book.find(new Search("In the beginning god created the heavens and the earth", true)); //$NON-NLS-1$
              tally.trimVerses(35);
              dummyDisplay(tally);
--- 73,77 ----
  
              // Part 1, a best match, and doc generate
!             tally = (PassageTally) book.find("\"In the beginning god created the heavens and the earth\""); //$NON-NLS-1$
              tally.trimVerses(35);
              dummyDisplay(tally);
***************
*** 80,84 ****
  
              // Part 2, another best match, and doc generate
!             tally = (PassageTally) book.find(new Search("for god so loves the world that he gave his only begotten son", true)); //$NON-NLS-1$
              tally.trimVerses(35);
              dummyDisplay(tally);
--- 79,83 ----
  
              // Part 2, another best match, and doc generate
!             tally = (PassageTally) book.find("\"for god so loves the world that he gave his only begotten son\""); //$NON-NLS-1$
              tally.trimVerses(35);
              dummyDisplay(tally);
***************
*** 86,90 ****
  
              // Part 3, a power match, and doc generate
!             String nextInput = book.find(new Search("aaron & manna", false)).getName(); //$NON-NLS-1$
              Key key = book.getKey(nextInput);
              Passage ref = KeyUtil.getPassage(key);
--- 85,89 ----
  
              // Part 3, a power match, and doc generate
!             String nextInput = book.find("aaron & manna").getName(); //$NON-NLS-1$
              Key key = book.getKey(nextInput);
              Passage ref = KeyUtil.getPassage(key);



More information about the jsword-svn mailing list