Skip to content

Commit 9adce64

Browse files
committed
Fix javadoc.
1 parent 07a57ff commit 9adce64

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,6 @@ public void close() {
290290
}
291291
}
292292

293-
/** This Sentinel reference may be used to Formatter requires a File, while there is no actual File to format */
293+
/** This Sentinel reference may be used to pass string content to a Formatter or FormatterStep when there is no actual File to format */
294294
public static final File NO_FILE_SENTINEL = new File("NO_FILE_SENTINEL");
295295
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public interface FormatterStep extends Serializable {
3838
* the content to format, guaranteed to have unix-style newlines ('\n'); never null
3939
* @param file
4040
* the file which {@code rawUnix} was obtained from; never null. Pass the reference
41-
* {@code FormatterStepImpl#SENTINEL} if and only if no file is actually associated with {@code rawUnix}
41+
* {@link Formatter#NO_FILE_SENTINEL} if and only if no file is actually associated with {@code rawUnix}
4242
* @return the formatted content, guaranteed to only have unix-style newlines; may return null
4343
* if the formatter step doesn't have any changes to make
4444
* @throws Exception if the formatter step experiences a problem

0 commit comments

Comments
 (0)