Skip to content

Commit 4ad48a9

Browse files
committed
Fix indentation
1 parent 712d77a commit 4ad48a9

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

lib/src/main/java/com/diffplug/spotless/java/TypeAnnotationsStep.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,10 @@ FormatterFunc toFormatter() {
405405
}
406406

407407
/**
408-
* Removes line break between type annotations and the following type.
409-
*
410-
* @param the text of a Java file
411-
* @return corrected text of the Java file
408+
* Removes line break between type annotations and the following type.
409+
*
410+
* @param the text of a Java file
411+
* @return corrected text of the Java file
412412
*/
413413
String fixupTypeAnnotations(String unixStr) {
414414
// Each element of `lines` ends with a newline.
@@ -428,7 +428,8 @@ String fixupTypeAnnotations(String unixStr) {
428428
}
429429

430430
/**
431-
* Returns true if the line ends with a type annotation. We need to fix such formatting.
431+
* Returns true if the line ends with a type annotation.
432+
* TypeAnnotationStep fixes such formatting.
432433
*/
433434
boolean endsWithTypeAnnotation(String unixLine) {
434435
// Remove trailing newline.

0 commit comments

Comments
 (0)