Add explict this checkstyle rule and fix violations

This commit is contained in:
broccolai 2021-01-28 09:30:10 +00:00 committed by Jason
parent a6eb44376c
commit d5259dfbe4
62 changed files with 195 additions and 192 deletions

View file

@ -57,7 +57,7 @@ final class Pagination<T> {
) {
final int pages = (int) Math.ceil(content.size() / (itemsPerPage * 1.00));
if (page < 1 || page > pages) {
return Collections.singletonList(outOfRangeRenderer.apply(page, pages));
return Collections.singletonList(this.outOfRangeRenderer.apply(page, pages));
}
final List<Component> renderedContent = new ArrayList<>(this.headerRenderer.apply(page, pages));