Skip to content

Add LineRange and LineRangeList from analysis-model. #399

Add LineRange and LineRangeList from analysis-model.

Add LineRange and LineRangeList from analysis-model. #399

Triggered via push September 21, 2023 09:30
Status Success
Total duration 51s
Artifacts
markdown-link-check
39s
markdown-link-check
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.