jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1842263 - /jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java
Date Fri, 28 Sep 2018 16:04:37 GMT
Author: fschumacher
Date: Fri Sep 28 16:04:37 2018
New Revision: 1842263

URL: http://svn.apache.org/viewvc?rev=1842263&view=rev
Log:
Set null explicitly in FieldStringEditor to allow undefined values

Relates to #394 on github.

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java?rev=1842263&r1=1842262&r2=1842263&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/FieldStringEditor.java Fri Sep 28
16:04:37 2018
@@ -79,7 +79,7 @@ class FieldStringEditor extends Property
         if (value instanceof String) {
             setAsText((String) value);
         } else if (value == null) {
-            setAsText("");
+            setAsText(null);
         } else {
             throw new IllegalArgumentException("Expected String but got " + value.getClass()
+ ", value=" + value);
         }



Mime
View raw message