Skip to content

Commit 2cfcc86

Browse files
committed
DATAMONGO-2138 - Add type parameter to CriteriaDefinition
1 parent 5388025 commit 2cfcc86

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/query/CriteriaDefinition.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,14 @@
1919
import org.springframework.lang.Nullable;
2020

2121
/**
22+
*
23+
* @param <T> Type of Entity that is queried, used for type-safe queries.
24+
*
2225
* @author Oliver Gierke
2326
* @author Christoph Strobl
27+
* @author Tjeu Kayim
2428
*/
25-
public interface CriteriaDefinition {
29+
public interface CriteriaDefinition<T> {
2630

2731
/**
2832
* Get {@link Document} representation.

0 commit comments

Comments
 (0)