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() {
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.
You can’t perform that action at this time.
0 commit comments