Skip to content

Commit c2b2227

Browse files
committed
Remove NeverUpToDate methods from the lib of FormatterStep.
1 parent b1bb965 commit c2b2227

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

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

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -172,34 +172,4 @@ static <State extends Serializable> FormatterStep create(
172172
Objects.requireNonNull(state, "state");
173173
return createLazy(name, () -> state, stateToFormatter);
174174
}
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-
}
205175
}

0 commit comments

Comments
 (0)