Skip to content

Commit c026da6

Browse files
committed
remove guarded by
1 parent 9a9105c commit c026da6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/org/dataloader/DataLoaderHelper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package org.dataloader;
22

3-
import org.dataloader.annotations.GuardedBy;
43
import org.dataloader.annotations.Internal;
54
import org.dataloader.impl.CompletableFutureKit;
65
import org.dataloader.instrumentation.DataLoaderInstrumentation;
@@ -144,7 +143,6 @@ Optional<CompletableFuture<V>> getIfCompleted(K key) {
144143
}
145144

146145

147-
@GuardedBy("lock")
148146
CompletableFuture<V> load(K key, Object loadContext) {
149147
boolean batchingEnabled = loaderOptions.batchingEnabled();
150148
boolean futureCachingEnabled = loaderOptions.cachingEnabled();
@@ -225,7 +223,6 @@ Object getCacheKeyWithContext(K key, Object context) {
225223
loaderOptions.cacheKeyFunction().get().getKeyWithContext(key, context) : key;
226224
}
227225

228-
@GuardedBy("lock")
229226
DispatchResult<V> dispatch() {
230227
DataLoaderInstrumentationContext<DispatchResult<?>> instrCtx = ctxOrNoopCtx(instrumentation().beginDispatch(dataLoader));
231228

0 commit comments

Comments
 (0)