Permalink
Browse files

Rolled back Change in JsonTypeSerializer.

  • Loading branch information...
1 parent e623761 commit 0d00d3838cb457285a1f4d9e1ace190c4d9b6a37 @bbansal bbansal committed Apr 15, 2009
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/java/voldemort/serialization/json/JsonTypeSerializer.java
@@ -282,8 +282,6 @@ else if(c == Short.class)
return ((Short) o).floatValue();
else if(c == Integer.class)
return ((Integer) o).floatValue();
- else if(c == Double.class)
- return ((Double) o).floatValue();
else
throw new SerializationException("Object of type " + c.getName()
+ " cannot be coerced to type " + JsonTypes.FLOAT32

0 comments on commit 0d00d38

Please sign in to comment.