From c5812bb485ff2ca86d67090b01b157f52c90e1fe Mon Sep 17 00:00:00 2001
From: Joel Leitch
Date: Tue, 22 Sep 2009 19:10:53 +0000
Subject: [PATCH] Fixed Incorrect JavaDoc
---
gson/src/main/java/com/google/gson/Gson.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gson/src/main/java/com/google/gson/Gson.java b/gson/src/main/java/com/google/gson/Gson.java
index c25a14fd..4c76bbf7 100644
--- a/gson/src/main/java/com/google/gson/Gson.java
+++ b/gson/src/main/java/com/google/gson/Gson.java
@@ -52,13 +52,13 @@ import java.util.Map;
* example for serializing and deserialing a {@code ParameterizedType}:
*
*
- * Type listType = new TypeToken>() {}.getType();
- * List target = new LinkedList();
+ * Type listType = new TypeToken<List<String>>() {}.getType();
+ * List<String> target = new LinkedList<String>();
* target.add("blah");
*
* Gson gson = new Gson();
* String json = gson.toJson(target, listType);
- * List target2 = gson.fromJson(json, listType);
+ * List<String> target2 = gson.fromJson(json, listType);
*
*
* See the Gson User Guide