refactoring

pull/856/head
Nikita 8 years ago
parent f3217373f2
commit b4978ed9e0

@ -165,7 +165,7 @@ public class RedissonCache implements Cache {
} }
protected Object fromStoreValue(Object storeValue) { protected Object fromStoreValue(Object storeValue) {
if (storeValue.getClass() == NullValue.class) { if (storeValue instanceof NullValue) {
return null; return null;
} }
return storeValue; return storeValue;

Loading…
Cancel
Save