geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1771108 - in /geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json: JsonObjectBuilder.java spi/JsonProvider.java
Date Thu, 24 Nov 2016 10:44:19 GMT
Author: struberg
Date: Thu Nov 24 10:44:19 2016
New Revision: 1771108

URL: http://svn.apache.org/viewvc?rev=1771108&view=rev
Log:
GERONIMO-6558 JavaDoc

Modified:
    geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/JsonObjectBuilder.java
    geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/spi/JsonProvider.java

Modified: geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/JsonObjectBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/JsonObjectBuilder.java?rev=1771108&r1=1771107&r2=1771108&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/JsonObjectBuilder.java
(original)
+++ geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/JsonObjectBuilder.java
Thu Nov 24 10:44:19 2016
@@ -19,6 +19,10 @@ package javax.json;
 import java.math.BigDecimal;
 import java.math.BigInteger;
 
+/**
+ * A JsonObjectBuilder can be used to build {@link JsonObject JsonObjects}.
+ * Instances are not thread safe.
+ */
 public interface JsonObjectBuilder {
     JsonObjectBuilder add(String name, JsonValue value);
 

Modified: geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/spi/JsonProvider.java
URL: http://svn.apache.org/viewvc/geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/spi/JsonProvider.java?rev=1771108&r1=1771107&r2=1771108&view=diff
==============================================================================
--- geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/spi/JsonProvider.java
(original)
+++ geronimo/specs/trunk/geronimo-json_1.1_spec/src/main/java/javax/json/spi/JsonProvider.java
Thu Nov 24 10:44:19 2016
@@ -57,6 +57,17 @@ import java.util.Enumeration;
 import java.util.List;
 import java.util.Map;
 
+/**
+ * JsonProvider is the actual implementation of all the Json logic.
+ * A JsonProvider instance can be used concurrently.
+ *
+ * It can be accessed via
+ * <pre>
+ *     <code>
+ * JsonProvider provider = JsonProvider.provider();
+ *     </code>
+ * </pre>
+ */
 public abstract class JsonProvider {
     private static final String DEFAULT_PROVIDER = "org.apache.johnzon.core.JsonProviderImpl";
 



Mime
View raw message