We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
List.of()
1 parent 70cc491 commit b0837a2Copy full SHA for b0837a2
lib/src/main/java/com/diffplug/spotless/FileSignature.java
@@ -126,7 +126,7 @@ public static Promised promise(Iterable<File> files) {
126
}
127
128
public static Promised promise(File file) {
129
- return new Promised(List.of(file), null);
+ return new Promised(MoreIterables.toNullHostileList(List.of(file)), null);
130
131
132
/** Returns all of the files in this signature, throwing an exception if there are more or less than 1 file. */
0 commit comments