Fixed comments from r486.
This commit is contained in:
parent
2bddd575b3
commit
6d60a7db1d
@ -54,7 +54,6 @@ public final class JsonObject extends JsonElement {
|
|||||||
*/
|
*/
|
||||||
public void add(String property, JsonElement value) {
|
public void add(String property, JsonElement value) {
|
||||||
Preconditions.checkArgument(property != null && !"".equals(property.trim()));
|
Preconditions.checkArgument(property != null && !"".equals(property.trim()));
|
||||||
Preconditions.checkNotNull(property);
|
|
||||||
|
|
||||||
if (value == null) {
|
if (value == null) {
|
||||||
value = JsonNull.createJsonNull();
|
value = JsonNull.createJsonNull();
|
||||||
|
Loading…
Reference in New Issue
Block a user