[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book/basic s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Mon May 16 17:43:18 MST 2005


Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic
In directory www.crosswire.org:/tmp/cvs-serv23836/java/jsword/org/crosswire/jsword/book/basic

Modified Files:
	AbstractBookList.java DefaultBookMetaData.java 
	AbstractBookMetaData.java AbstractBook.java 
	AbstractBookDriver.java AbstractPassageBook.java Msg.java 
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.

Index: AbstractBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/AbstractBook.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** AbstractBook.java	10 May 2005 02:39:22 -0000	1.16
--- AbstractBook.java	17 May 2005 00:43:16 -0000	1.17
***************
*** 45,49 ****
   * some basic write methods. 
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 45,49 ----
   * some basic write methods. 
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: AbstractPassageBook.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/AbstractPassageBook.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AbstractPassageBook.java	10 May 2005 02:39:22 -0000	1.3
--- AbstractPassageBook.java	17 May 2005 00:43:16 -0000	1.4
***************
*** 45,49 ****
   * on reading book data.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 45,49 ----
   * on reading book data.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: Msg.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/Msg.java,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** Msg.java	10 May 2005 02:39:22 -0000	1.12
--- Msg.java	17 May 2005 00:43:16 -0000	1.13
***************
*** 27,35 ****
   * Compile safe Msg resource settings.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
   */
! public class Msg extends MsgBase
  {
      static final Msg DRIVER_READONLY = new Msg("AbstractBookDriver.DriverReadonly"); //$NON-NLS-1$
--- 27,35 ----
   * Compile safe Msg resource settings.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
   */
! public final class Msg extends MsgBase
  {
      static final Msg DRIVER_READONLY = new Msg("AbstractBookDriver.DriverReadonly"); //$NON-NLS-1$

Index: DefaultBookMetaData.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/DefaultBookMetaData.java,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -d -r1.21 -r1.22
*** DefaultBookMetaData.java	10 May 2005 02:39:22 -0000	1.21
--- DefaultBookMetaData.java	17 May 2005 00:43:16 -0000	1.22
***************
*** 44,48 ****
   * implementation.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 44,48 ----
   * implementation.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
***************
*** 170,182 ****
  
      /**
!      * @param type The type to set.
       */
!     public void setType(BookType type)
      {
!         if (type == null)
          {
!             type = BookType.BIBLE;
          }
!         this.type = type;
  
          putProperty(KEY_TYPE, type.toString());
--- 170,183 ----
  
      /**
!      * @param aType The type to set.
       */
!     public void setType(BookType aType)
      {
!         BookType t = aType;
!         if (t == null)
          {
!             t = BookType.BIBLE;
          }
!         type = t;
  
          putProperty(KEY_TYPE, type.toString());

Index: AbstractBookDriver.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/AbstractBookDriver.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** AbstractBookDriver.java	10 May 2005 02:39:22 -0000	1.10
--- AbstractBookDriver.java	17 May 2005 00:43:16 -0000	1.11
***************
*** 30,34 ****
   * simple read-only BibleDriver.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 30,34 ----
   * simple read-only BibleDriver.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: AbstractBookMetaData.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/AbstractBookMetaData.java,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** AbstractBookMetaData.java	10 May 2005 02:39:22 -0000	1.23
--- AbstractBookMetaData.java	17 May 2005 00:43:16 -0000	1.24
***************
*** 44,48 ****
   * An implementaion of the Propery Change methods from BookMetaData.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 44,48 ----
   * An implementaion of the Propery Change methods from BookMetaData.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]

Index: AbstractBookList.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/basic/AbstractBookList.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** AbstractBookList.java	10 May 2005 02:39:22 -0000	1.5
--- AbstractBookList.java	17 May 2005 00:43:16 -0000	1.6
***************
*** 39,43 ****
   * bugs fixed in one should be fixed in the other too.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]
--- 39,43 ----
   * bugs fixed in one should be fixed in the other too.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author Joe Walker [joe at eireneh dot com]



More information about the jsword-svn mailing list