Skip to content

Commit

Permalink
Rolled back Change in JsonTypeSerializer.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbansal committed Apr 15, 2009
1 parent e623761 commit 0d00d38
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/java/voldemort/serialization/json/JsonTypeSerializer.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -282,8 +282,6 @@ else if(c == Short.class)
return ((Short) o).floatValue(); return ((Short) o).floatValue();
else if(c == Integer.class) else if(c == Integer.class)
return ((Integer) o).floatValue(); return ((Integer) o).floatValue();
else if(c == Double.class)
return ((Double) o).floatValue();
else else
throw new SerializationException("Object of type " + c.getName() throw new SerializationException("Object of type " + c.getName()
+ " cannot be coerced to type " + JsonTypes.FLOAT32 + " cannot be coerced to type " + JsonTypes.FLOAT32
Expand Down

0 comments on commit 0d00d38

Please sign in to comment.