ASF Bugzilla – Attachment 36033 Details for
Bug 62545
Don't use colon in JSON renderer to display indentation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
remove the colon from the "tab" string
01-json.diff (text/plain), 1.20 KB, created by
Felix Schumacher
on 2018-07-16 16:44:33 UTC
(
hide
)
Description:
remove the colon from the "tab" string
Filename:
MIME Type:
Creator:
Felix Schumacher
Created:
2018-07-16 16:44:33 UTC
Size:
1.20 KB
patch
obsolete
>Index: src/components/org/apache/jmeter/visualizers/RenderAsJSON.java >=================================================================== >--- src/components/org/apache/jmeter/visualizers/RenderAsJSON.java (Revision 1835976) >+++ src/components/org/apache/jmeter/visualizers/RenderAsJSON.java (Arbeitskopie) >@@ -31,7 +31,7 @@ > 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 >Index: test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java >=================================================================== >--- test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java (Revision 1835976) >+++ test/src/org/apache/jmeter/visualizers/TestRenderAsJson.java (Arbeitskopie) >@@ -28,7 +28,7 @@ > 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);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 62545
: 36033