commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1648920 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
Date Thu, 01 Jan 2015 19:04:19 GMT
Author: britter
Date: Thu Jan  1 19:04:19 2015
New Revision: 1648920

URL: http://svn.apache.org/r1648920
Log:
JsonToStringStyle doesn't use line breaks. Change JavaDoc to reflect this.

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java?rev=1648920&r1=1648919&r2=1648920&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/builder/ToStringStyle.java
Thu Jan  1 19:04:19 2015
@@ -144,11 +144,7 @@ public abstract class ToStringStyle impl
      * {@link ToStringBuilder}, the output would look like this:
      *
      * <pre>
-     * {
-     *   "name": "John Doe",
-     *   "age": 33,
-     *   "smoker": true
-     * }
+     * {"name": "John Doe", "age": 33, "smoker": true}
      * </pre>
      *
      * <strong>Note:</strong> Since field names are mandatory in JSON, this



Mime
View raw message