File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
src/main/java/io/securecodebox/persistence/defectdojo/model Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -25,16 +25,21 @@ public final class PaginatedResult<T extends Model> {
2525
2626 /**
2727 * TODO: What does this contain? I would expect a number for the next page.
28- * FIXME: If this provides an empty string to prevent NPE, then UserProfileServiceTest fails.
28+ * <p>
29+ * This is {@code null} if there is no next page.
30+ * </p>
2931 */
3032 @ JsonProperty
3133 private String next ;
3234
3335 /**
3436 * TODO: What does this contain? I would expect a number for the previous page.
37+ * <p>
38+ * This is {@code null} if there is no next page.
39+ * </p>
3540 */
3641 @ JsonProperty
37- private String previous = "" ;
42+ private String previous ;
3843
3944 @ JsonProperty
4045 private List <T > results = new ArrayList <>();
You can’t perform that action at this time.
0 commit comments