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

jswordcvs at crosswire.org jswordcvs at crosswire.org
Fri Apr 1 10:10:16 MST 2005


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

Modified Files:
	KeySidebar.java 
Log Message:
Improved ranking, bible display and fixed a few bugs.

Index: KeySidebar.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/passage/KeySidebar.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** KeySidebar.java	6 Mar 2005 20:21:36 -0000	1.4
--- KeySidebar.java	1 Apr 2005 17:10:14 -0000	1.5
***************
*** 20,24 ****
  import org.crosswire.jsword.book.Book;
  import org.crosswire.jsword.passage.Key;
- import org.crosswire.jsword.passage.NoSuchKeyException;
  import org.crosswire.jsword.passage.Passage;
  import org.crosswire.jsword.passage.PassageListType;
--- 20,23 ----
***************
*** 166,180 ****
          }
  
!         try
          {
!             // Have to have a copy of the key
!             // since we allow it to be blurred and
!             // that would cause the shared location
!             // to get the change w/o seeing it.
!             key = book.getKey(newKey.getName());
          }
!         catch (NoSuchKeyException e)
          {
!             assert false;
          }
          partial = null;
--- 165,179 ----
          }
  
!         // Have to have a copy of the key
!         // since we allow it to be blurred and
!         // that would cause the shared location
!         // to get the change w/o seeing it.
!         if (newKey == null)
          {
!             key = null;
          }
!         else
          {
!             key = (Key) newKey.clone();
          }
          partial = null;



More information about the jsword-svn mailing list