File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/src/main/java/com/diffplug/spotless Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -290,6 +290,6 @@ public void close() {
290
290
}
291
291
}
292
292
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 */
294
294
public static final File NO_FILE_SENTINEL = new File ("NO_FILE_SENTINEL" );
295
295
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ public interface FormatterStep extends Serializable {
38
38
* the content to format, guaranteed to have unix-style newlines ('\n'); never null
39
39
* @param file
40
40
* 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}
42
42
* @return the formatted content, guaranteed to only have unix-style newlines; may return null
43
43
* if the formatter step doesn't have any changes to make
44
44
* @throws Exception if the formatter step experiences a problem
You can’t perform that action at this time.
0 commit comments