You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2018/12/02 11:10:02 UTC
svn commit: r1847965 -
/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java
Author: fschumacher
Date: Sun Dec 2 11:10:02 2018
New Revision: 1847965
URL: http://svn.apache.org/viewvc?rev=1847965&view=rev
Log:
Use log format strings
Part of #435 and Bugzilla Id: 62972
Modified:
jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java?rev=1847965&r1=1847964&r2=1847965&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/BeanShellInterpreter.java Sun Dec 2 11:10:02 2018
@@ -136,16 +136,16 @@ public class BeanShellInterpreter {
+File.separator+initFile;
in = new File(fileToUse);
if (!in.exists()) {
- log.warn("Cannot find init file: "+initFile);
+ log.warn("Cannot find init file: {}", initFile);
}
}
if (!in.canRead()) {
- log.warn("Cannot read init file: "+fileToUse);
+ log.warn("Cannot read init file: {}", fileToUse);
}
try {
source(fileToUse);
} catch (JMeterException e) {
- log.warn("Cannot source init file: "+fileToUse,e);
+ log.warn("Cannot source init file: {}", fileToUse,e);
}
}
}