Skip to content

Commit 4a23173

Browse files
committed
Polish
1 parent 8bca211 commit 4a23173

File tree

3 files changed

+3
-1
lines changed
  • spring-javaformat

3 files changed

+3
-1
lines changed

spring-javaformat/spring-javaformat-checkstyle/src/main/resources/io/spring/javaformat/checkstyle/check/messages.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ methodorder.outOfOrder=Method ''{0}'' is out of order, expected {1}.
2525
methodvisibility.publicMethod=Method ''{0}'' in private class should not be public.
2626
nothis.unexpected=Reference to instance variable ''{0}'' should not use \"this.\".
2727
ternary.equalOperator=Ternary operation should use != when testing.
28-
ternary.missingParen=Ternary operation missing parentheses. Use the form \"(a != b) ? y : n\"
28+
ternary.missingParen=Ternary operation missing parentheses. Use the form \"(a != b) ? y : n\".
2929
testfilename.wrongName=Test classes should have a name ending with 'Tests.java'.
3030
leadingwhitespace.incorrect=Indentation should be performed with {0} only.
3131
deprecated.missingSince=@Deprecated has no since attribute.

spring-javaformat/spring-javaformat-formatter-tests/src/test/java/io/spring/javaformat/formatter/AbstractFormatterTests.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ enum LineEnding {
104104
String ending() {
105105
return this.ending;
106106
}
107+
107108
};
108109

109110
static class Item {

spring-javaformat/spring-javaformat-formatter/src/main/java/io/spring/javaformat/formatter/Formatter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,4 +175,5 @@ private String detectLineSeparator(String contents) {
175175
}
176176
return null;
177177
}
178+
178179
}

0 commit comments

Comments
 (0)