cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Temp reverting the jsob basic writer format related change
Date Thu, 15 Sep 2016 13:07:31 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 29129d880 -> b4359a383


Temp reverting the jsob basic writer format related change


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/b4359a38
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/b4359a38
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/b4359a38

Branch: refs/heads/3.1.x-fixes
Commit: b4359a383f88b6a6072dd6de2c55797a2dca3977
Parents: 29129d8
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Sep 15 14:06:20 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Sep 15 14:07:11 2016 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/b4359a38/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java
----------------------------------------------------------------------
diff --git a/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java
b/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java
index 030548f..d1fb1f5 100644
--- a/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java
+++ b/rt/rs/extensions/json-basic/src/main/java/org/apache/cxf/jaxrs/json/basic/JsonMapObjectReaderWriter.java
@@ -71,14 +71,12 @@ public class JsonMapObjectReaderWriter {
 
     protected void toJsonInternal(Output out, Map<String, Object> map) {
         out.append("{");
-        formatIfNeeded(out);
         for (Iterator<Map.Entry<String, Object>> it = map.entrySet().iterator();
it.hasNext();) {
             Map.Entry<String, Object> entry = it.next();
             out.append("\"").append(entry.getKey()).append("\"");
             out.append(":");
             toJsonInternal(out, entry.getValue(), it.hasNext());
         }
-        formatIfNeeded(out);
         out.append("}");
     }
     


Mime
View raw message