[jsword-svn] jsword/java/limbo/org/crosswire/jsword/book/jdbc s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun May 8 18:29:09 MST 2005


Update of /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/jdbc
In directory www.crosswire.org:/tmp/cvs-serv6194/java/limbo/org/crosswire/jsword/book/jdbc

Modified Files:
	JDBCBook.java 
Log Message:
Moved unused code to limbo.
Upgraded support-tools: checkstyle, pmd and findbugs to most recent.
Addressed over 100 issues reported by findbugs and checkstyle.
Resulted in major refactoring of GBFFilter.
Net result is that code size is significantly smaller.

Index: JDBCBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/book/jdbc/JDBCBook.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** JDBCBook.java	22 Mar 2005 12:40:03 -0000	1.8
--- JDBCBook.java	9 May 2005 01:29:06 -0000	1.9
***************
*** 19,23 ****
  import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.basic.DefaultBookMetaData;
! import org.crosswire.jsword.book.basic.PassageAbstractBook;
  import org.crosswire.jsword.book.filter.Filter;
  import org.crosswire.jsword.book.filter.FilterFactory;
--- 19,23 ----
  import org.crosswire.jsword.book.BookMetaData;
  import org.crosswire.jsword.book.basic.DefaultBookMetaData;
! import org.crosswire.jsword.book.basic.AbstractPassageBook;
  import org.crosswire.jsword.book.filter.Filter;
  import org.crosswire.jsword.book.filter.FilterFactory;
***************
*** 51,55 ****
   * @version $Id$
   */
! public class JDBCBook extends PassageAbstractBook
  {
      /**
--- 51,55 ----
   * @version $Id$
   */
! public class JDBCBook extends AbstractPassageBook
  {
      /**
***************
*** 122,126 ****
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.PassageAbstractBook#getFilter()
       */
      protected Filter getFilter()
--- 122,126 ----
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.AbstractPassageBook#getFilter()
       */
      protected Filter getFilter()
***************
*** 130,134 ****
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.PassageAbstractBook#getText(org.crosswire.jsword.passage.Verse)
       */
      protected String getText(Key key)
--- 130,134 ----
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.AbstractPassageBook#getText(org.crosswire.jsword.passage.Verse)
       */
      protected String getText(Key key)
***************
*** 176,180 ****
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.PassageAbstractBook#setText(org.crosswire.jsword.passage.Verse, java.lang.String)
       */
      protected void setText(Verse verse, String text) throws BookException
--- 176,180 ----
  
      /* (non-Javadoc)
!      * @see org.crosswire.jsword.book.basic.AbstractPassageBook#setText(org.crosswire.jsword.passage.Verse, java.lang.String)
       */
      protected void setText(Verse verse, String text) throws BookException



More information about the jsword-svn mailing list