< prev index next >
src/com/sun/javatest/tool/Main.java
Print this page
rev 152 : 7902253: Remove unnecessary array creation for varargs parameters
7902245: Correct Agent.productVersion
Reviewed-by: jjg
*** 500,512 ****
}
private static void trace(String msg) {
long now = System.currentTimeMillis();
traceOut.println(MessageFormat.format("{0,number,[##0.0]} {1}",
! new Object[] {
! new Float((now - traceStartTime)/1000f),
! msg }));
traceOut.flush();
}
/**
--- 500,510 ----
}
private static void trace(String msg) {
long now = System.currentTimeMillis();
traceOut.println(MessageFormat.format("{0,number,[##0.0]} {1}",
! new Float((now - traceStartTime)/1000f), msg));
traceOut.flush();
}
/**
< prev index next >