[jsword-svn] common/java/core/org/crosswire/common/history s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Mon May 16 17:47:04 MST 2005


Update of /cvs/jsword/common/java/core/org/crosswire/common/history
In directory www.crosswire.org:/tmp/cvs-serv25437/java/core/org/crosswire/common/history

Modified Files:
	History.java HistoryEvent.java HistoryListener.java 
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.

Index: HistoryListener.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/history/HistoryListener.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** HistoryListener.java	10 May 2005 02:38:37 -0000	1.4
--- HistoryListener.java	17 May 2005 00:47:02 -0000	1.5
***************
*** 27,31 ****
   * A listener of HistoryEvents.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]
--- 27,31 ----
   * A listener of HistoryEvents.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]
***************
*** 34,37 ****
  public interface HistoryListener extends EventListener
  {
!     public void historyChanged(HistoryEvent e);
  }
--- 34,37 ----
  public interface HistoryListener extends EventListener
  {
!     void historyChanged(HistoryEvent e);
  }

Index: History.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/history/History.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** History.java	10 May 2005 02:38:37 -0000	1.4
--- History.java	17 May 2005 00:47:02 -0000	1.5
***************
*** 35,39 ****
   * a current navigation list.
   *
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]
--- 35,39 ----
   * a current navigation list.
   *
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]
***************
*** 56,66 ****
       * Make a particular element in the navigation list the current
       * item in history.
!      * @param i the index of item to make the last one in the back list,
       *          -1 (or lower) will put everything in the forward list.
       *          Indexes beyond the end of the list will put everything
       *          in the back list.
       */
!     public Object select(int i)
      {
          // Adjust to be 1 based
          int size = nav.size();
--- 56,67 ----
       * Make a particular element in the navigation list the current
       * item in history.
!      * @param index the index of item to make the last one in the back list,
       *          -1 (or lower) will put everything in the forward list.
       *          Indexes beyond the end of the list will put everything
       *          in the back list.
       */
!     public Object select(int index)
      {
+         int i = index;
          // Adjust to be 1 based
          int size = nav.size();

Index: HistoryEvent.java
===================================================================
RCS file: /cvs/jsword/common/java/core/org/crosswire/common/history/HistoryEvent.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** HistoryEvent.java	10 May 2005 02:38:37 -0000	1.3
--- HistoryEvent.java	17 May 2005 00:47:02 -0000	1.4
***************
*** 27,31 ****
   * An Event in History.
   * 
!  * @see gnu.gpl.Licence for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]
--- 27,31 ----
   * An Event in History.
   * 
!  * @see gnu.gpl.License for license details.
   *      The copyright to this program is held by it's authors.
   * @author DM Smith [dmsmith555 at gmail dot com]



More information about the jsword-svn mailing list