diff --git a/src/main/java/org/springframework/data/jpa/domain/Specification.java b/src/main/java/org/springframework/data/jpa/domain/Specification.java index 39500da7d..2427c0830 100644 --- a/src/main/java/org/springframework/data/jpa/domain/Specification.java +++ b/src/main/java/org/springframework/data/jpa/domain/Specification.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2014 the original author or authors. + * Copyright 2008-2017 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import javax.persistence.criteria.Root; * * @author Oliver Gierke * @author Thomas Darimont + * @author Krzysztof Rzymkowski */ public interface Specification { @@ -34,7 +35,7 @@ public interface Specification { * * @param root * @param query - * @return a {@link Predicate}, must not be {@literal null}. + * @return a {@link Predicate}, may be {@literal null}. */ Predicate toPredicate(Root root, CriteriaQuery query, CriteriaBuilder cb); }