polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [2/5] polygene-java git commit: Johnzon does not support javax.json.stream.JsonGenerator.prettyPrinting
Date Mon, 03 Apr 2017 08:09:38 GMT
Johnzon does not support javax.json.stream.JsonGenerator.prettyPrinting

POLYGENE-231


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

Branch: refs/heads/develop
Commit: b4b63966ac05c39b72a7296d33b72c39e46bde45
Parents: 69816b9
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon Apr 3 09:45:13 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon Apr 3 09:45:13 2017 +0200

----------------------------------------------------------------------
 .../polygene/serialization/javaxjson/JavaxJsonFactories.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/b4b63966/core/spi/src/main/java/org/apache/polygene/serialization/javaxjson/JavaxJsonFactories.java
----------------------------------------------------------------------
diff --git a/core/spi/src/main/java/org/apache/polygene/serialization/javaxjson/JavaxJsonFactories.java
b/core/spi/src/main/java/org/apache/polygene/serialization/javaxjson/JavaxJsonFactories.java
index e61e3e6..99893bd 100644
--- a/core/spi/src/main/java/org/apache/polygene/serialization/javaxjson/JavaxJsonFactories.java
+++ b/core/spi/src/main/java/org/apache/polygene/serialization/javaxjson/JavaxJsonFactories.java
@@ -88,7 +88,7 @@ public interface JavaxJsonFactories
             parserFactory = jsonProvider.createParserFactory( parserProperties );
             readerFactory = jsonProvider.createReaderFactory( parserProperties );
 
-            Map<String, ?> generatorProperties = Collections.singletonMap( JsonGenerator.PRETTY_PRINTING,
false );
+            Map<String, ?> generatorProperties = Collections.emptyMap();
             generatorFactory = jsonProvider.createGeneratorFactory( generatorProperties );
             builderFactory = jsonProvider.createBuilderFactory( generatorProperties );
             writerFactory = jsonProvider.createWriterFactory( generatorProperties );


Mime
View raw message