java: no need to call String.valueOf to append to a String
Change-Id: I5ef45b971d24dde814ab8cbb2e9503d9da4f0d73
This commit is contained in:
@@ -241,8 +241,7 @@ class ScriptImpl implements XScript {
|
||||
Class<?> c = scriptLoader.loadClass(className);
|
||||
long end = new java.util.Date().getTime();
|
||||
|
||||
LogUtils.DEBUG("loadClass took: " + String.valueOf(end - start)
|
||||
+ "milliseconds");
|
||||
LogUtils.DEBUG("loadClass took: " + (end - start) + "milliseconds");
|
||||
|
||||
try {
|
||||
LogUtils.DEBUG("class loaded ... ");
|
||||
@@ -272,8 +271,7 @@ class ScriptImpl implements XScript {
|
||||
long start = new java.util.Date().getTime();
|
||||
result = script.invoke(invocationArgs);
|
||||
long end = new java.util.Date().getTime();
|
||||
LogUtils.DEBUG("invoke took: " + String.valueOf(end - start)
|
||||
+ "milliseconds");
|
||||
LogUtils.DEBUG("invoke took: " + (end - start) + "milliseconds");
|
||||
} catch (java.lang.IllegalArgumentException iae) {
|
||||
ScriptFrameworkErrorException e2 = new ScriptFrameworkErrorException(
|
||||
iae.getMessage(), null, metaData.getLanguageName(),
|
||||
|
Reference in New Issue
Block a user