sangmingming / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

Minor javadoc documentation issue in com.google.gson.Gson #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The Javadoc documentation for the class is eating some < characters:
 Type listType = new TypeToken>() {}.getType();
 List target = new LinkedList();
...
 List target2 = gson.fromJson(json, listType);

It should be:
 Type listType = new TypeToken<List<String>>() {}.getType();
 List<String> target = new LinkedList<String>();
...
 List<String> target2 = gson.fromJson(json, listType);

Original issue reported on code.google.com by australi...@gmail.com on 2 Sep 2009 at 2:22

GoogleCodeExporter commented 9 years ago
Thanks for catching this.

Original comment by joel.leitch@gmail.com on 22 Sep 2009 at 7:11