Skip to content

Commit

Permalink
Ok fine my fault, it is a compile error because the method name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ustc-zzzz committed Apr 30, 2022
1 parent 5665e48 commit 346a2eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/teacon/slides/renderer/SlideState.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static Slide getSlide(@Nonnull String location) {
if (location.isEmpty()) {
return null;
}
return sCache.getAcquire().computeIfAbsent(location, SlideState::new).get();
return sCache.getAcquire().computeIfAbsent(location, SlideState::new).getWithUpdate();
}

/**
Expand Down

0 comments on commit 346a2eb

Please sign in to comment.