[jsword-svn] jsword/java/jsword/org/crosswire/jsword/book s
jswordcvs at crosswire.org
jswordcvs at crosswire.org
Sun Mar 6 11:13:30 MST 2005
Update of /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book
In directory www.crosswire.org:/tmp/cvs-serv24431/java/jsword/org/crosswire/jsword/book
Modified Files:
DataPolice.java
Log Message:
Fixed up DataPolice a bit more.
Index: DataPolice.java
===================================================================
RCS file: /cvs/jsword/jsword/java/jsword/org/crosswire/jsword/book/DataPolice.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** DataPolice.java 28 Nov 2004 21:36:46 -0000 1.7
--- DataPolice.java 6 Mar 2005 18:13:28 -0000 1.8
***************
*** 60,69 ****
public static void report(String message)
{
if (bmd != null && key != null)
{
log.debug(bmd.getInitials() + ':' + key.getName());
}
!
! log.debug(message);
}
--- 60,80 ----
public static void report(String message)
{
+ StringBuffer buf = new StringBuffer();
+ if (bmd != null)
+ {
+ buf.append(bmd.getInitials());
+ }
if (bmd != null && key != null)
{
+ buf.append(':');
log.debug(bmd.getInitials() + ':' + key.getName());
}
! if (key != null)
! {
! buf.append(key.getName());
! }
! buf.append(": "); //$NON-NLS-1$
! buf.append(message);
! log.debug(buf.toString());
}
More information about the jsword-svn
mailing list