Remove unneeded cast 32/23532/1
authorRobert Varga <rovarga@cisco.com>
Mon, 29 Jun 2015 20:22:15 +0000 (22:22 +0200)
committerRobert Varga <rovarga@cisco.com>
Mon, 29 Jun 2015 20:22:15 +0000 (22:22 +0200)
This cast is reported as unneeded by eclipse, remove it.

Change-Id: I45b9c91fb0576859b48aba9a68b429cd79b9097e
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-codec-gson/src/main/java/org/opendaylight/yangtools/yang/data/codec/gson/JSONCodecFactory.java

index 4c8dcca7febd727bedcb6d262ba46c9da028dd85..e58e1dfea4fed6331c46f5b6c5d466b2a679a9c7 100644 (file)
@@ -120,7 +120,7 @@ public final class JSONCodecFactory {
             return (JSONCodec<Object>) iidCodec;
         }
         if (type instanceof EmptyTypeDefinition) {
-            return (JSONCodec<Object>) JSONEmptyCodec.INSTANCE;
+            return JSONEmptyCodec.INSTANCE;
         }
 
         final TypeDefinitionAwareCodec<Object, ?> codec = TypeDefinitionAwareCodec.from(type);