[jsword-svn] jsword/java/limbo/org/crosswire/jsword/passage s

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


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

Modified Files:
	PassageSet.java 
Added Files:
	CopyOfBibleInfo.java 
Log Message:
Added support for CheckStyle plugin.
Added a few more CheckStyle rules.
Fixed a spelling mistake.

--- NEW FILE: CopyOfBibleInfo.java ---
/**
 * Distribution License:
 * JSword is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License, version 2 as published by
 * the Free Software Foundation. This program is distributed in the hope
 * that it will be useful, but WITHOUT ANY WARRANTY; without even the
 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 *
 * The License is available on the internet at:
 *       http://www.gnu.org/copyleft/gpl.html
 * or by writing to:
 *      Free Software Foundation, Inc.
 *      59 Temple Place - Suite 330
 *      Boston, MA 02111-1307, USA
 *
 * Copyright: 2005
 *     The copyright to this program is held by it's authors.
 *
[...1270 lines suppressed...]

        verse_num = 1;
        log.fine("    private static final short[][] ORDINAL_AT_START_OF_CHAPTER =");
        log.fine("    {");
        for (int b = 1; b <= BibleInfo.booksInBible(); b++)
        {
            log.fine("        { ");
            for (int c = 1; c <= BibleInfo.chaptersInBook(b); c++)
            {
                String vstr1 = "     " + verse_num;
                String vstr2 = vstr1.substring(vstr1.length() - 5);
                log.fine(vstr2 + ", ");
                verse_num += BibleInfo.versesInChapter(b, c);
            }
            log.fine("},");
        }
        log.fine("    };");
    }
    */
}

Index: PassageSet.java
===================================================================
RCS file: /cvs/jsword/jsword/java/limbo/org/crosswire/jsword/passage/PassageSet.java,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** PassageSet.java	10 May 2005 02:39:24 -0000	1.5
--- PassageSet.java	17 May 2005 00:43:16 -0000	1.6
***************
*** 34,38 ****
   * needed.
   * 
!  * @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]
--- 34,38 ----
   * needed.
   * 
!  * @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