Skip to content

Merge pull request #820 from uhafner/java21 #794

Merge pull request #820 from uhafner/java21

Merge pull request #820 from uhafner/java21 #794

Triggered via push October 1, 2023 09:45
Status Success
Total duration 2m 45s
Artifacts

autograding.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

18 warnings
AvoidObjectArrays: src/main/java/edu/hm/hafner/util/Ensure.java#L107
Avoid accepting a Object[]; consider an Iterable<Object> instead.
AvoidObjectArrays: src/main/java/edu/hm/hafner/util/Ensure.java#L359
Avoid accepting a Object[]; consider an Iterable<Object> instead.
Varifier: src/main/java/edu/hm/hafner/util/LineRange.java#L78
Consider using `var` here to avoid boilerplate.
Varifier: src/main/java/edu/hm/hafner/util/LineRangeList.java#L135
Consider using `var` here to avoid boilerplate.
Varifier: src/main/java/edu/hm/hafner/util/LineRangeList.java#L137
Consider using `var` here to avoid boilerplate.
CanIgnoreReturnValueSuggester: src/main/java/edu/hm/hafner/util/LineRangeList.java#L332
Methods with ignorable return values (including methods that always 'return this') should be annotated with @com.google.errorprone.annotations.CanIgnoreReturnValue.
InlineTrivialConstant: src/test/java/edu/hm/hafner/util/EnsureTest.java#L17
Consider inlining this constant.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L18
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L19
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L26
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L27
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L34
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L35
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L42
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L43
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L50
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L63
Consider using `var` here to avoid boilerplate.
Varifier: src/test/java/edu/hm/hafner/util/LineRangeListTest.java#L101
Consider using `var` here to avoid boilerplate.