Add LineRange
and LineRangeList
from analysis-model
#815
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>