Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Commit

Permalink
Original issue xetorthio#51
Browse files Browse the repository at this point in the history
  • Loading branch information
agrison committed Mar 1, 2015
1 parent 620185b commit 37cecac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/redis/clients/johm/collections/RedisMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public V get(Object key) {
if (johmValueType == JOhmCollectionDataType.PRIMITIVE) {
value = (V) Convertor.convert(field, valueClazz, valueKey);
} else if (johmValueType == JOhmCollectionDataType.MODEL) {
value = JOhm.<V> get(valueClazz, Integer.parseInt(valueKey));
value = JOhm.<V> get(valueClazz, Long.valueOf(valueKey));
}
}
return value;
Expand Down

0 comments on commit 37cecac

Please sign in to comment.