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.
FormatterStep.ofDangerous
1 parent e1f159a commit ae5f565Copy full SHA for ae5f565
lib/src/main/java/com/diffplug/spotless/FormatterFunc.java
@@ -71,12 +71,6 @@ public String apply(String unix) throws Exception {
71
};
72
}
73
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
-
80
@FunctionalInterface
81
interface ResourceFunc<T extends AutoCloseable> {
82
String apply(T resource, String unix) throws Exception;
0 commit comments