Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LineRange and LineRangeList from analysis-model #815

Merged
merged 1 commit into from
Sep 28, 2023

Add `LineRange` and `LineRangeList` from analysis-model.

1ae357e
Select commit
Loading
Failed to load commit list.
Merged

Add LineRange and LineRangeList from analysis-model #815

Add `LineRange` and `LineRangeList` from analysis-model.
1ae357e
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
Jenkins (hafner.hm.edu) / Error Prone succeeded Sep 21, 2023 in 0s

15 new issues, 16 total

Total New Outstanding Fixed Trend
16 15 1 0 👎

Reference build: Ullrich Hafner » codingstyle » main #93

Details

Severity distribution of new issues

Error Warning High Warning Normal Warning Low
0 0 15 0

Annotations

Check warning on line 135 in src/main/java/edu/hm/hafner/util/LineRangeList.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var lr = (LineRange) o;</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 137 in src/main/java/edu/hm/hafner/util/LineRangeList.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>for (var c = new Cursor(); c.hasNext();) {</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 332 in src/main/java/edu/hm/hafner/util/LineRangeList.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

CanIgnoreReturnValueSuggester

NORMAL:
Methods with ignorable return values (including methods that always 'return this') should be annotated with @com.google.errorprone.annotations.CanIgnoreReturnValue.
Raw output
Did you mean: <pre><code>@CanIgnoreReturnValue</code></pre><p><a href="https://errorprone.info/bugpattern/CanIgnoreReturnValueSuggester">See ErrorProne documentation.</a></p>

Check warning on line 78 in src/main/java/edu/hm/hafner/util/LineRange.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var lineRange = (LineRange) obj;</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 18 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var list = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 19 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var range = new LineRange(1350, Integer.MAX_VALUE);</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 26 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var list = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 27 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var range = new LineRange(0, 0);</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 34 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var list = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 35 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var range = new LineRange(128, 129);</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 42 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var list = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 43 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var range = new LineRange(1, 2);</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 50 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var other = new LineRange(3, 4);</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 63 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var list = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>

Check warning on line 101 in src/test/java/edu/hm/hafner/util/LineRangeListTest.java

See this annotation in the file changed.

@jenkins-hafner-hm-edu jenkins-hafner-hm-edu / Error Prone

Varifier

NORMAL:
Consider using `var` here to avoid boilerplate.
Raw output
Did you mean: <pre><code>var range = new LineRangeList();</code></pre><p><a href="https://errorprone.info/bugpattern/Varifier">See ErrorProne documentation.</a></p>