[jsword-svn]
bibledesktop/java/main/org/crosswire/bibledesktop/book s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sat Mar 19 11:45:14 MST 2005
Update of /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book
In directory www.crosswire.org:/tmp/cvs-serv30623/java/main/org/crosswire/bibledesktop/book
Modified Files:
BooksListModel.java BookListCellRenderer.java
Log Message:
Update pmd ruleset.xml, adding new rules, (re)testing all rules, and cleaning up trivial reports.
Index: BookListCellRenderer.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BookListCellRenderer.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** BookListCellRenderer.java 19 Mar 2005 01:57:09 -0000 1.7
--- BookListCellRenderer.java 19 Mar 2005 18:45:12 -0000 1.8
***************
*** 49,57 ****
public BookListCellRenderer()
{
- if (noFocus == null)
- {
- noFocus = BorderFactory.createEmptyBorder(1, 1, 1, 1);
- }
-
setOpaque(true);
setBorder(noFocus);
--- 49,52 ----
***************
*** 150,154 ****
* border if we do not have focus
*/
! private static Border noFocus;
/**
--- 145,149 ----
* border if we do not have focus
*/
! private static Border noFocus = BorderFactory.createEmptyBorder(1, 1, 1, 1);
/**
Index: BooksListModel.java
===================================================================
RCS file: /cvs/jsword/bibledesktop/java/main/org/crosswire/bibledesktop/book/BooksListModel.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** BooksListModel.java 19 Mar 2005 01:57:09 -0000 1.8
--- BooksListModel.java 19 Mar 2005 18:45:12 -0000 1.9
***************
*** 212,216 ****
* The log stream
*/
! private static Logger log = Logger.getLogger(BooksListModel.class);
/**
--- 212,216 ----
* The log stream
*/
! private static final Logger log = Logger.getLogger(BooksListModel.class);
/**
More information about the jsword-svn
mailing list