[Ubermq-commits] jms/src/com/ubermq Utility.java,1.6,1.7
Brought to you by:
jimmyp
From: <ji...@us...> - 2002-10-11 21:19:24
|
Update of /cvsroot/ubermq/jms/src/com/ubermq In directory usw-pr-cvs1:/tmp/cvs-serv24103/src/com/ubermq Modified Files: Utility.java Log Message: GUI tweaks. Index: Utility.java =================================================================== RCS file: /cvsroot/ubermq/jms/src/com/ubermq/Utility.java,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Utility.java 11 Oct 2002 17:44:29 -0000 1.6 --- Utility.java 11 Oct 2002 21:19:20 -0000 1.7 *************** *** 214,217 **** --- 214,218 ---- { private static final DateFormat df = new SimpleDateFormat("dd MMM yy HH:mm:ss.SSS"); + /** * Format the given log record and return the formatted string. *************** *** 235,239 **** fmt.append(record.getLevel()); fmt.append(" "); ! fmt.append(df.format(new Date(record.getMillis()))); fmt.append(" "); fmt.append(className.substring(className.lastIndexOf('.')+1)); --- 236,242 ---- fmt.append(record.getLevel()); fmt.append(" "); ! synchronized(df) { ! fmt.append(df.format(new Date(record.getMillis()))); ! } fmt.append(" "); fmt.append(className.substring(className.lastIndexOf('.')+1)); |