Skip to content

Commit 8ae4f44

Browse files
committed
#23 Give the PaginatedResult Also an Upper Bound
This is necessary to avoid that something else than types implementing Model can be wrapped because the service already require this by upper bounds. Signed-off-by: Sven Strittmatter <sven.strittmatter@iteratec.com>
1 parent f1fd8ff commit 8ae4f44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/securecodebox/persistence/defectdojo/model/PaginatedResult.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @param <T> type of results
1616
*/
1717
@Data
18-
public final class PaginatedResult<T> {
18+
public final class PaginatedResult<T extends Model> {
1919
@JsonProperty
2020
private int count;
2121

0 commit comments

Comments
 (0)