Skip to content

Commit

Permalink
Fix NPE in QueryKey
Browse files Browse the repository at this point in the history
  • Loading branch information
mederly committed Dec 13, 2019
1 parent e3cef06 commit 57a7ccf
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ public class QueryKey {

<T extends ObjectType> QueryKey(Class<T> type, ObjectQuery query) {
this.type = type;
this.query = query.clone();
this.query = query != null ? query.clone() : null;
}

@Override
Expand Down

0 comments on commit 57a7ccf

Please sign in to comment.