Fixed - NullValue does not implement Serializable #981

pull/1025/head
Nikita 8 years ago
parent 69d7aff15e
commit 8eda8c052d

@ -15,6 +15,8 @@
*/
package org.redisson.spring.cache;
import java.io.Serializable;
import org.springframework.cache.Cache.ValueWrapper;
/**
@ -22,8 +24,10 @@ import org.springframework.cache.Cache.ValueWrapper;
* @author Nikita Koksharov
*
*/
public class NullValue implements ValueWrapper {
public class NullValue implements ValueWrapper, Serializable {
private static final long serialVersionUID = -8310337775544536701L;
public static final NullValue INSTANCE = new NullValue();
@Override

Loading…
Cancel
Save