Skip to content

Commit ea3e168

Browse files
committed
remove old constructor in UpdateAgent
1 parent c6297f4 commit ea3e168

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

agent/update/src/main/java/me/hsgamer/topper/agent/update/UpdateAgent.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ public UpdateAgent(DataHolder<K, V> holder, BiConsumer<K, Consumer<ValueWrapper<
3030
this.updateConsumer = updateConsumer;
3131
}
3232

33-
public UpdateAgent(DataHolder<K, V> holder, Function<K, ValueWrapper<V>> updateFunction) {
34-
this(holder, (key, consumer) -> consumer.accept(updateFunction.apply(key)));
35-
}
36-
3733
public void setFilter(Function<K, FilterResult> filter) {
3834
this.filter = filter;
3935
}

0 commit comments

Comments
 (0)