Skip to content

Commit ae5f565

Browse files
committed
Remove deprecated duplicate of FormatterStep.ofDangerous
1 parent e1f159a commit ae5f565

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ public String apply(String unix) throws Exception {
7171
};
7272
}
7373

74-
/** @deprecated synonym for {@link #ofDangerous(AutoCloseable, FormatterFunc)} */
75-
@Deprecated
76-
public static Closeable of(AutoCloseable closeable, FormatterFunc function) {
77-
return ofDangerous(closeable, function);
78-
}
79-
8074
@FunctionalInterface
8175
interface ResourceFunc<T extends AutoCloseable> {
8276
String apply(T resource, String unix) throws Exception;

0 commit comments

Comments
 (0)