Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,9 @@ void testLocalDateParsingIssue() {
);

subject.headersMatch();
while (subject.hasNext()) {}
while (subject.hasNext()) {
// Spinn trough all items so we can test the result
}

var error1 = issueStore.listIssues().getFirst();
var error2 = issueStore.listIssues().getLast();
Expand Down
5 changes: 5 additions & 0 deletions checkstyle.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@
"https://checkstyle.org/dtds/configuration_1_3.dtd">
<module name="Checker">
<module name="TreeWalker">
<module name="ArrayTypeStyle"/>
<module name="AvoidStarImport"/>
<module name="DefaultComesLast"/>
<module name="EmptyStatement"/>
<module name="NeedBraces"/>
<module name="RedundantImport"/>
<module name="SimplifyBooleanReturn"/>
<module name="StringLiteralEquality"/>
<module name="TrailingComment">
<property name="format" value="^\s*$"/>
</module>
Expand Down
3 changes: 3 additions & 0 deletions openrewrite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: org.opentripplanner.CodeStyle
recipeList:
# Note, these recipes should be listed in the order they should be applied.
# However, even a single recipe can cause a need to run rewrite twice.
- org.openrewrite.staticanalysis.DefaultComesLast
- org.openrewrite.staticanalysis.NeedBraces
- org.openrewrite.staticanalysis.EmptyBlock
- org.openrewrite.staticanalysis.StringLiteralEquality
- org.openrewrite.staticanalysis.RemoveUnusedLocalVariables
- org.openrewrite.java.RemoveUnusedImports
Loading