jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1721394 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java
Date Tue, 22 Dec 2015 13:28:40 GMT
Author: fschumacher
Date: Tue Dec 22 13:28:40 2015
New Revision: 1721394

URL: http://svn.apache.org/viewvc?rev=1721394&view=rev
Log:
Use interface for variable declaration and remove code that is commented out.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java?rev=1721394&r1=1721393&r2=1721394&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java Tue Dec 22
13:28:40 2015
@@ -30,7 +30,7 @@ import java.util.Map;
 public class SampleContext {
 
     private File workingDirectory;
-    private HashMap<String, Object> data = new HashMap<>();
+    private Map<String, Object> data = new HashMap<>();
 
     /**
      * Return the root directory that consumers are authorized to use for
@@ -51,11 +51,7 @@ public class SampleContext {
      *            the new working directory
      */
     public final void setWorkingDirectory(File workingDirectory) {
-        // if (workingDirectory == null)
-        // throw new ArgumentNullException("workingDirectory");
-
         this.workingDirectory = workingDirectory;
-        // workingDirectory.mkdirs();
     }
 
     /**



Mime
View raw message