File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/main/java/org/truffleruby/collections Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2020 Oracle and/or its affiliates. All rights reserved. This
2
+ * Copyright (c) 2020, 2022 Oracle and/or its affiliates. All rights reserved. This
3
3
* code is released under a tri EPL/GPL/LGPL license. You can use it,
4
4
* redistribute it and/or modify it under the terms of the:
5
5
*
11
11
12
12
import java .util .function .Supplier ;
13
13
14
- public class CachedSupplier <T > implements Supplier < T > {
14
+ public class CachedSupplier <T > {
15
15
16
16
private volatile T value = null ;
17
17
private Supplier <T > supplier ;
@@ -20,7 +20,6 @@ public CachedSupplier(Supplier<T> supplier) {
20
20
this .supplier = supplier ;
21
21
}
22
22
23
- @ Override
24
23
public T get () {
25
24
if (isAvailable ()) {
26
25
return value ;
You can’t perform that action at this time.
0 commit comments