jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject svn commit: r1836054 - in /jmeter/trunk: src/components/org/apache/jmeter/visualizers/RenderAsJSON.java test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java xdocs/changes.xml
Date Mon, 16 Jul 2018 16:48:22 GMT
Author: fschumacher
Date: Mon Jul 16 16:48:21 2018
New Revision: 1836054

URL: http://svn.apache.org/viewvc?rev=1836054&view=rev
Log:
Don't use a colon as part of the "tab" string when indenting JSON in RenderAsJSON.

Bugzilla Id: 62545

Modified:
    jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java
    jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java
    jmeter/trunk/xdocs/changes.xml

Modified: jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java?rev=1836054&r1=1836053&r2=1836054&view=diff
==============================================================================
--- jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java (original)
+++ jmeter/trunk/src/components/org/apache/jmeter/visualizers/RenderAsJSON.java Mon Jul 16
16:48:21 2018
@@ -31,7 +31,7 @@ import net.minidev.json.parser.JSONParse
 import net.minidev.json.parser.ParseException;
 
 public class RenderAsJSON extends SamplerResultTab implements ResultRenderer {
-    private static final String TAB_SEPARATOR = ":   "; //$NON-NLS-1$
+    private static final String TAB_SEPARATOR = "    "; //$NON-NLS-1$
 
     /** {@inheritDoc} */
     @Override

Modified: jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java?rev=1836054&r1=1836053&r2=1836054&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java Mon Jul 16 16:48:21
2018
@@ -28,7 +28,7 @@ import org.junit.Test;
 public class TestRenderAsJson {
 
     private Method prettyJSON;
-    private final String TAB = ":   ";
+    private final String TAB = "    ";
 
     private String prettyJSON(String prettify) throws Exception {
         return (String) prettyJSON.invoke(null, prettify);

Modified: jmeter/trunk/xdocs/changes.xml
URL: http://svn.apache.org/viewvc/jmeter/trunk/xdocs/changes.xml?rev=1836054&r1=1836053&r2=1836054&view=diff
==============================================================================
--- jmeter/trunk/xdocs/changes.xml [utf-8] (original)
+++ jmeter/trunk/xdocs/changes.xml [utf-8] Mon Jul 16 16:48:21 2018
@@ -263,6 +263,7 @@ this behaviour, set <code>httpclient.res
   <li><bug>62457</bug>In usermanual, the UUID Function's example is wrong.
Contributed by helppass (onegaicimasu at hotmail.com)</li>
   <li><bug>62478</bug>Escape commata in parameters when constructing function
strings in the GUI function helper. Reported by blue414 (blue414 at 163.com)</li>
   <li><bug>62463</bug>Fix usage of ports, when <code>client.rmi.localport</code>
is set for distributed runs.</li>
+  <li><bug>62545</bug>Don't use a colon as part of the "tab" string when
indenting JSON in RenderAsJSON.</li>
 </ul>
 
  <!--  =================== Thanks =================== -->



Mime
View raw message