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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Feb 27 19:21:42 MST 2005


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

Modified Files:
	BibleInfo.java 
Log Message:
Fixed the display of the conf (BD-16, 17 & 18)

Index: BibleInfo.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/passage/BibleInfo.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** BibleInfo.java	15 Feb 2005 02:09:06 -0000	1.25
--- BibleInfo.java	28 Feb 2005 02:21:40 -0000	1.26
***************
*** 152,156 ****
       * @return The current case setting
       * @see Passage
!      * @see BibleInfo#setCase(int)
       */
      public static final int getCase()
--- 152,156 ----
       * @return The current case setting
       * @see Passage
!      * @see BibleInfo#setCase(CaseType)
       */
      public static final int getCase()
***************
*** 1049,1053 ****
  
      /** Constant for the number of chapters in each book */
!     private static final int[] CHAPTERS_IN_BOOK =
      {
          50, 40, 27, 36, 34, 24, 21,  4, 31, 24,
--- 1049,1053 ----
  
      /** Constant for the number of chapters in each book */
!     private static final short[] CHAPTERS_IN_BOOK =
      {
          50, 40, 27, 36, 34, 24, 21,  4, 31, 24,
***************
*** 1061,1068 ****
  
      /** Constant for the number of verses in the Bible */
!     private static final int VERSES_IN_BIBLE = 31102;
  
      /** Constant for the number of verses in each book */
!     private static final int[] VERSES_IN_BOOK =
      {
          1533, 1213,  859, 1288,  959,  658,  618,   85,  810,  695,
--- 1061,1068 ----
  
      /** Constant for the number of verses in the Bible */
!     private static final short VERSES_IN_BIBLE = 31102;
  
      /** Constant for the number of verses in each book */
!     private static final short[] VERSES_IN_BOOK =
      {
          1533, 1213,  859, 1288,  959,  658,  618,   85,  810,  695,
***************
*** 1076,1080 ****
  
      /** Constant for the number of verses in each chapter */
!     private static final int[][] VERSES_IN_CHAPTER =
      {
          { 31, 25, 24, 26, 32, 22, 24, 22, 29, 32, 32, 20, 18, 24, 21, 16, 27, 33, 38, 18, 34, 24, 20, 67, 34, 35, 46, 22, 35, 43, 55, 32, 20, 31, 29, 43, 36, 30, 23, 23, 57, 38, 34, 34, 28, 34, 31, 22, 33, 26 },
--- 1076,1080 ----
  
      /** Constant for the number of verses in each chapter */
!     private static final short[][] VERSES_IN_CHAPTER =
      {
          { 31, 25, 24, 26, 32, 22, 24, 22, 29, 32, 32, 20, 18, 24, 21, 16, 27, 33, 38, 18, 34, 24, 20, 67, 34, 35, 46, 22, 35, 43, 55, 32, 20, 31, 29, 43, 36, 30, 23, 23, 57, 38, 34, 34, 28, 34, 31, 22, 33, 26 },
***************
*** 1147,1151 ****
  
      /** Constant for the ordinal number of the first verse in each book */
!     private static final int[] ORDINAL_AT_START_OF_BOOK =
      {
          1,  1534,  2747,  3606,  4894,  5853,  6511,  7129,  7214,  8024,
--- 1147,1151 ----
  
      /** Constant for the ordinal number of the first verse in each book */
!     private static final short[] ORDINAL_AT_START_OF_BOOK =
      {
          1,  1534,  2747,  3606,  4894,  5853,  6511,  7129,  7214,  8024,
***************
*** 1164,1168 ****
       * get it to compile under JBuilder.
       */
!     private static final int[][] ORDINAL_AT_START_OF_CHAPTER =
      {
          {     1,    32,    57,    81,   107,   139,   161,   185,   207,   236,   268,   300,   320,   338,   362,   383,   399,   426,   459,   497,   515,   549,   573,   593,   660,   694,   729,   775,   797,   832,   875,   930,   962,   982,  1013,  1042,  1085,  1121,  1151,  1174,  1197,  1254,  1292,  1326,  1360,  1388,  1422,  1453,  1475,  1508, },
--- 1164,1168 ----
       * get it to compile under JBuilder.
       */
!     private static final short[][] ORDINAL_AT_START_OF_CHAPTER =
      {
          {     1,    32,    57,    81,   107,   139,   161,   185,   207,   236,   268,   300,   320,   338,   362,   383,   399,   426,   459,   497,   515,   549,   573,   593,   660,   694,   729,   775,   797,   832,   875,   930,   962,   982,  1013,  1042,  1085,  1121,  1151,  1174,  1197,  1254,  1292,  1326,  1360,  1388,  1422,  1453,  1475,  1508, },
***************
*** 1238,1242 ****
       * The number of books in each section
       */
!     private static final int[] BOOKS_IN_SECTION =
      {
          0, // Does not exist
--- 1238,1242 ----
       * The number of books in each section
       */
!     private static final short[] BOOKS_IN_SECTION =
      {
          0, // Does not exist
***************
*** 1257,1262 ****
  
      /**
!      * This is the code used to create ordinal_at_start_of_chapter and
!      * ordinal_at_start_of_book. It is usually commented out because I
       * don't see any point in making .class files bigger for no reason
       * and this is needed only very rarely.
--- 1257,1262 ----
  
      /**
!      * This is the code used to create ORDINAL_AT_START_OF_CHAPTER and
!      * ORDINAL_AT_START_OF_BOOK. It is usually commented out because I
       * don't see any point in making .class files bigger for no reason
       * and this is needed only very rarely.
***************
*** 1267,1271 ****
  
          verse_num = 1;
!         log.fine("    private static final int[] ordinal_at_start_of_book =");
          log.fine("    {");
          log.fine("        ");
--- 1267,1271 ----
  
          verse_num = 1;
!         log.fine("    private static final short[] ORDINAL_AT_START_OF_BOOK =");
          log.fine("    {");
          log.fine("        ");
***************
*** 1283,1287 ****
  
          verse_num = 1;
!         log.fine("    private static final int[][] ordinal_at_start_of_chapter =");
          log.fine("    {");
          for (int b = 1; b <= BibleInfo.booksInBible(); b++)
--- 1283,1287 ----
  
          verse_num = 1;
!         log.fine("    private static final short[][] ORDINAL_AT_START_OF_CHAPTER =");
          log.fine("    {");
          for (int b = 1; b <= BibleInfo.booksInBible(); b++)



More information about the jsword-svn mailing list