Skip to content

Commit c53a90f

Browse files
committed
svm: replace string concat with format string
1 parent 8376498 commit c53a90f

File tree

1 file changed

+1
-1
lines changed
  • substratevm/src/com.oracle.graal.pointsto.standalone/src/com/oracle/graal/pointsto/standalone

1 file changed

+1
-1
lines changed

substratevm/src/com.oracle.graal.pointsto.standalone/src/com/oracle/graal/pointsto/standalone/MethodConfigReader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public static int forMethodList(DebugContext debug, List<String> methods, BigBan
106106
validMethodsNum.incrementAndGet();
107107
} catch (Throwable t) {
108108
// Checkstyle: Allow raw info or warning printing - begin
109-
debug.log(DebugContext.VERBOSE_LEVEL, "Warning: Can't add method " + method + " as analysis root method. Reason: " + t.getMessage());
109+
debug.log(DebugContext.VERBOSE_LEVEL, "Warning: Can't add method %s as analysis root method. Reason: %s", method, t.getMessage());
110110
// Checkstyle: Allow raw info or warning printing - end
111111
}
112112
}

0 commit comments

Comments
 (0)