updated javadoc in response to issue 97

This commit is contained in:
Inderjeet Singh 2009-01-29 02:43:36 +00:00
parent 764e4d9aca
commit f4c21abda6

View File

@ -59,7 +59,10 @@ public final class JsonNull extends JsonElement {
/**
* Creation method used to return an instance of a {@link JsonNull}. To reduce the memory
* footprint, a single object has been created for this class; therefore the same instance is
* being returned for each invocation of this method.
* being returned for each invocation of this method. This method is kept private since we
* prefer the users to use {@link JsonNull#JsonNull()} which is similar to how other JsonElements
* are created. Note that all instances of JsonNull return true for {@link #equals(Object)}
* when compared to each other.
*
* @return a instance of a {@link JsonNull}
*/