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 2015/12/22 14:28:40 UTC

svn commit: r1721394 - /jmeter/trunk/src/core/org/apache/jmeter/report/processor/SampleContext.java

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();
     }
 
     /**