jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1647632 - /jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
Date Tue, 23 Dec 2014 18:12:17 GMT
Author: sebb
Date: Tue Dec 23 18:12:17 2014
New Revision: 1647632

URL: http://svn.apache.org/r1647632
Log:
I18N

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java?rev=1647632&r1=1647631&r2=1647632&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/util/JSR223TestElement.java Tue Dec 23 18:12:17
2014
@@ -101,27 +101,27 @@ public abstract class JSR223TestElement
         final String scriptParameters = getParameters();
         // Use actual class name for log
         final Logger logger = LoggingManager.getLoggerForShortName(getClass().getName());
-        bindings.put("log", logger);
-        bindings.put("Label", label);
-        bindings.put("FileName", fileName);
-        bindings.put("Parameters", scriptParameters);
+        bindings.put("log", logger); // $NON-NLS-1$ (this name is fixed)
+        bindings.put("Label", label); // $NON-NLS-1$ (this name is fixed)
+        bindings.put("FileName", fileName); // $NON-NLS-1$ (this name is fixed)
+        bindings.put("Parameters", scriptParameters); // $NON-NLS-1$ (this name is fixed)
         String [] args=JOrphanUtils.split(scriptParameters, " ");//$NON-NLS-1$
-        bindings.put("args", args);
+        bindings.put("args", args); // $NON-NLS-1$ (this name is fixed)
         // Add variables for access to context and variables
         JMeterContext jmctx = JMeterContextService.getContext();
-        bindings.put("ctx", jmctx);
+        bindings.put("ctx", jmctx); // $NON-NLS-1$ (this name is fixed)
         JMeterVariables vars = jmctx.getVariables();
-        bindings.put("vars", vars);
+        bindings.put("vars", vars); // $NON-NLS-1$ (this name is fixed)
         Properties props = JMeterUtils.getJMeterProperties();
-        bindings.put("props", props);
+        bindings.put("props", props); // $NON-NLS-1$ (this name is fixed)
         // For use in debugging:
-        bindings.put("OUT", System.out);
+        bindings.put("OUT", System.out); // $NON-NLS-1$ (this name is fixed)
 
         // Most subclasses will need these:
         Sampler sampler = jmctx.getCurrentSampler();
-        bindings.put("sampler", sampler);
+        bindings.put("sampler", sampler); // $NON-NLS-1$ (this name is fixed)
         SampleResult prev = jmctx.getPreviousResult();
-        bindings.put("prev", prev);
+        bindings.put("prev", prev); // $NON-NLS-1$ (this name is fixed)
     }
 
 
@@ -150,8 +150,8 @@ public abstract class JSR223TestElement
                 try {
                     if (supportsCompilable) {
                         String cacheKey = 
-                                getScriptLanguage()+"#"+
-                                scriptFile.getAbsolutePath()+"#"+
+                                getScriptLanguage()+"#"+ // $NON-NLS-1$
+                                scriptFile.getAbsolutePath()+"#"+  // $NON-NLS-1$
                                         scriptFile.lastModified();
                         CompiledScript compiledScript = 
                                 compiledScriptsCache.get(cacheKey);



Mime
View raw message