File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
lib/src/main/java/com/diffplug/spotless/java Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -405,10 +405,10 @@ FormatterFunc toFormatter() {
405
405
}
406
406
407
407
/**
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
412
412
*/
413
413
String fixupTypeAnnotations (String unixStr ) {
414
414
// Each element of `lines` ends with a newline.
@@ -428,7 +428,8 @@ String fixupTypeAnnotations(String unixStr) {
428
428
}
429
429
430
430
/**
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.
432
433
*/
433
434
boolean endsWithTypeAnnotation (String unixLine ) {
434
435
// Remove trailing newline.
You can’t perform that action at this time.
0 commit comments