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.
1 parent 31cb495 commit f576267Copy full SHA for f576267
lib/src/main/java/com/diffplug/spotless/FileSignature.java
@@ -121,6 +121,10 @@ public Promised asPromise() {
121
return new Promised(files, this);
122
}
123
124
+ public static Promised promise(Iterable<File> files) {
125
+ return new Promised(MoreIterables.toNullHostileList(files), null);
126
+ }
127
+
128
/** Returns all of the files in this signature, throwing an exception if there are more or less than 1 file. */
129
public Collection<File> files() {
130
return Collections.unmodifiableList(files);
0 commit comments