Skip to main content

[jsonp~git:fad96f28] Minor javadoc edits

  • From:
  • To:
  • Subject: [jsonp~git:fad96f28] Minor javadoc edits
  • Date: Wed, 16 Oct 2013 22:44:32 +0000

Project:    jsonp
Repository: git
Revision:   fad96f2831e170549f5e9c714be3222c7ceea394
Author:     jitu
Date:       2013-10-16 22:44:18 UTC
Link:       

Log Message:
------------
Minor javadoc edits



Revisions:
----------
fad96f2831e170549f5e9c714be3222c7ceea394


Modified Paths:
---------------
impl/src/main/java/org/glassfish/json/JsonArrayBuilderImpl.java
impl/src/main/java/org/glassfish/json/JsonNumberImpl.java
impl/src/main/java/org/glassfish/json/JsonObjectBuilderImpl.java
impl/src/main/java/org/glassfish/json/JsonStringImpl.java
impl/src/main/java/org/glassfish/json/JsonWriterImpl.java


Diffs:
------
--- a/impl/src/main/java/org/glassfish/json/JsonArrayBuilderImpl.java
+++ b/impl/src/main/java/org/glassfish/json/JsonArrayBuilderImpl.java
@@ -51,6 +51,11 @@ import java.util.ArrayList;
 import java.util.Collections;
 import java.util.List;
 
+/**
+ * JsonArrayBuilder impl
+ *
+ * @author Jitendra Kotamraju
+ */
 class JsonArrayBuilderImpl implements JsonArrayBuilder {
     private ArrayList<JsonValue> valueList;
     private final BufferPool bufferPool;--- 
a/impl/src/main/java/org/glassfish/json/JsonNumberImpl.java
+++ b/impl/src/main/java/org/glassfish/json/JsonNumberImpl.java
@@ -44,6 +44,12 @@ import javax.json.JsonNumber;
 import java.math.BigDecimal;
 import java.math.BigInteger;
 
+/**
+ * JsonNumber impl. Subclasses provide optimized implementations
+ * when backed by int, long, BigDecimal
+ *
+ * @author Jitendra Kotamraju
+ */
 abstract class JsonNumberImpl implements JsonNumber {
 
     static JsonNumber getJsonNumber(int num) {--- 
a/impl/src/main/java/org/glassfish/json/JsonObjectBuilderImpl.java
+++ b/impl/src/main/java/org/glassfish/json/JsonObjectBuilderImpl.java
@@ -49,6 +49,11 @@ import java.math.BigDecimal;
 import java.math.BigInteger;
 import java.util.*;
 
+/**
+ * JsonObjectBuilder impl
+ *
+ * @author Jitendra Kotamraju
+ */
 class JsonObjectBuilderImpl implements JsonObjectBuilder {
     private Map<String, JsonValue> valueMap;
     private final BufferPool bufferPool;--- 
a/impl/src/main/java/org/glassfish/json/JsonStringImpl.java
+++ b/impl/src/main/java/org/glassfish/json/JsonStringImpl.java
@@ -42,11 +42,16 @@ package org.glassfish.json;
 
 import javax.json.JsonString;
 
+/**
+ * JsonString impl
+ *
+ * @author Jitendra Kotamraju
+ */
 final class JsonStringImpl implements JsonString {
 
     private final String value;
 
-    public JsonStringImpl(String value) {
+    JsonStringImpl(String value) {
         this.value = value;
     }
 --- a/impl/src/main/java/org/glassfish/json/JsonWriterImpl.java
+++ b/impl/src/main/java/org/glassfish/json/JsonWriterImpl.java
@@ -48,6 +48,11 @@ import java.io.Writer;
 import java.nio.charset.Charset;
 import java.util.Map;
 
+/**
+ * JsonWriter impl using generator.
+ *
+ * @author Jitendra Kotamraju
+ */
 class JsonWriterImpl implements JsonWriter {
     private static final Charset UTF_8 = Charset.forName("UTF-8");
 





[jsonp~git:fad96f28] Minor javadoc edits

jitu 10/16/2013
 
 
Close
loading
Please Confirm
Close