Checkstyle Results

The following document contains the results of Checkstyle 12.2.0 with google_checks.xml ruleset.

Summary

Files  Info  Warnings  Errors
17 0 2 0

Files

File  I  W  E
org/bremersee/comparator/spring/mapper/SortMapper.java 0 1 0
org/bremersee/comparator/spring/web/ReactiveSortOrderHandlerMethodArgumentResolverTest.java 0 1 0

Rules

Category Rule Violations Severity
coding MatchXpath
  • query: "//SINGLE_LINE_COMMENT[./COMMENT_CONTENT[not(starts-with(@text, ' ')) and not(starts-with(@text, '/')) and not(@text = '\n') and not(ends-with(@text, '//\n'))]]"
  • id: "singleLineCommentStartWithSpace"
1  Warning
VariableDeclarationUsageDistance 1  Warning

Details

org/bremersee/comparator/spring/mapper/SortMapper.java

Severity Category Rule Message Line
 Warning coding MatchXpath '//' must be followed by a whitespace. 273

org/bremersee/comparator/spring/web/ReactiveSortOrderHandlerMethodArgumentResolverTest.java

Severity Category Rule Message Line
 Warning coding VariableDeclarationUsageDistance Der Abstand zwischen der Deklaration der Variable 'parameter' und ihrer ersten Verwendung beträgt 4 (Obergrenze ist 3). Erwägen Sie, diese Variable final zu machen, wenn Sie den Wert schon vorher speichern müssen (vor Methodenaufrufen mit Nebenwirkungen auf den ursprünglichen Wert). 172