File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
lib/src/main/java/com/diffplug/spotless Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -172,34 +172,4 @@ static <State extends Serializable> FormatterStep create(
172
172
Objects .requireNonNull (state , "state" );
173
173
return createLazy (name , () -> state , stateToFormatter );
174
174
}
175
-
176
- /**
177
- * @param name
178
- * The name of the formatter step
179
- * @param functionSupplier
180
- * A supplier which will lazily generate the function
181
- * used by the formatter step
182
- * @return A FormatterStep which will never report that it is up-to-date, because
183
- * it is not equal to the serialized representation of itself.
184
- */
185
- static FormatterStep createNeverUpToDateLazy (
186
- String name ,
187
- ThrowingEx .Supplier <FormatterFunc > functionSupplier ) {
188
- return new NeverUpToDateStep (name , functionSupplier );
189
- }
190
-
191
- /**
192
- * @param name
193
- * The name of the formatter step
194
- * @param function
195
- * The function used by the formatter step
196
- * @return A FormatterStep which will never report that it is up-to-date, because
197
- * it is not equal to the serialized representation of itself.
198
- */
199
- static FormatterStep createNeverUpToDate (
200
- String name ,
201
- FormatterFunc function ) {
202
- Objects .requireNonNull (function , "function" );
203
- return createNeverUpToDateLazy (name , () -> function );
204
- }
205
175
}
You can’t perform that action at this time.
0 commit comments