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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun May 1 18:29:35 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/examples
In directory www.crosswire.org:/tmp/cvs-serv26301/java/jsword/org/crosswire/jsword/examples

Modified Files:
	APIExamples.java 
Log Message:
Fixed the bug where notes were being indexed by adding getVerseText as a replacement for getPlainText. The latter is still needed for non-bibles.
Also cleaned up checkstyle reports and added/corrected javadoc.

Index: APIExamples.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/examples/APIExamples.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** APIExamples.java	19 Mar 2005 01:56:47 -0000	1.20
--- APIExamples.java	2 May 2005 01:29:32 -0000	1.21
***************
*** 65,69 ****
          Key key = bible.getKey("Gen 1 1"); //$NON-NLS-1$
          BookData data = bible.getData(key);
!         String text = data.getPlainText();
  
          System.out.println("The plain text of Gen 1:1 is " + text); //$NON-NLS-1$
--- 65,69 ----
          Key key = bible.getKey("Gen 1 1"); //$NON-NLS-1$
          BookData data = bible.getData(key);
!         String text = data.getVerseText();
  
          System.out.println("The plain text of Gen 1:1 is " + text); //$NON-NLS-1$



More information about the jsword-svn mailing list