Skip to content

Commit 385d786

Browse files
Fallout from javadoc rename
1 parent e1a69dc commit 385d786

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

server/src/main/java/org/elasticsearch/common/util/LazyInitializable.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ public LazyInitializable(CheckedSupplier<T, E> supplier) {
6565
* A {@code Consumer} which is invoked on the value that will be
6666
* erased when calling {@code #reset()}
6767
*/
68-
public LazyInitializable(CheckedSupplier<T, E> supplier, Consumer<T> primer, Consumer<T> finalizer) {
68+
public LazyInitializable(CheckedSupplier<T, E> supplier, Consumer<T> onGet, Consumer<T> onReset) {
6969
this.supplier = supplier;
70-
this.onGet = primer;
71-
this.onReset = finalizer;
70+
this.onGet = onGet;
71+
this.onReset = onReset;
7272
}
7373

7474
/**

0 commit comments

Comments
 (0)