Remove an unnecessary cast from example code.

This commit is contained in:
Jesse Wilson 2011-10-24 14:14:34 +00:00
parent 00946277e8
commit 0ac36805c2

View File

@ -51,7 +51,7 @@ import java.lang.reflect.Type;
* class IdDeserializer implements JsonDeserializer<Id>() {
* public Id deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)
* throws JsonParseException {
* return (Id) new Id((Class)typeOfT, id.getValue());
* return new Id((Class)typeOfT, id.getValue());
* }
* </pre>
*