Skip to content

Commit

Permalink
ISPN-5692 Registering a remote event listener fails if cache is index…
Browse files Browse the repository at this point in the history
…ed, uses protobuf marshalling and includeInitialState=true
  • Loading branch information
anistor committed Aug 26, 2015
1 parent 9f5dfb7 commit bb83b3e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -22,7 +22,7 @@
* @author anistor@redhat.com
* @since 7.2
*/
public final class JPAProtobufFilterAndConverter<Object> extends JPAFilterAndConverter<Object, Object> {
public final class JPAProtobufFilterAndConverter extends JPAFilterAndConverter<Object, Object> {

private boolean usesValueWrapper;

Expand All @@ -44,7 +44,7 @@ public ObjectFilter.FilterResult filterAndConvert(Object key, Object value, Meta
return null;
}
if (usesValueWrapper) {
value = (Object) ((ProtobufValueWrapper) value).getBinary();
value = ((ProtobufValueWrapper) value).getBinary();
}
return getObjectFilter().filter(value);
}
Expand Down

0 comments on commit bb83b3e

Please sign in to comment.