From 6d60a7db1d546ed0eb625212d4a80dab149470e6 Mon Sep 17 00:00:00 2001 From: Joel Leitch Date: Fri, 9 Oct 2009 00:36:22 +0000 Subject: [PATCH] Fixed comments from r486. --- gson/src/main/java/com/google/gson/JsonObject.java | 1 - 1 file changed, 1 deletion(-) diff --git a/gson/src/main/java/com/google/gson/JsonObject.java b/gson/src/main/java/com/google/gson/JsonObject.java index d64ab20b..b33353f0 100644 --- a/gson/src/main/java/com/google/gson/JsonObject.java +++ b/gson/src/main/java/com/google/gson/JsonObject.java @@ -54,7 +54,6 @@ public final class JsonObject extends JsonElement { */ public void add(String property, JsonElement value) { Preconditions.checkArgument(property != null && !"".equals(property.trim())); - Preconditions.checkNotNull(property); if (value == null) { value = JsonNull.createJsonNull();