Skip to content

Commit

Permalink
Core: Remove unnecessary class-level synchronized in ManifestFiles (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi authored Jul 19, 2024
1 parent 5f970a8 commit cb6540c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/apache/iceberg/ManifestFiles.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ static ContentCache contentCache(FileIO io) {
}

/** Drop manifest file cache object for a FileIO if exists. */
public static synchronized void dropCache(FileIO fileIO) {
public static void dropCache(FileIO fileIO) {
CONTENT_CACHES.invalidate(fileIO);
CONTENT_CACHES.cleanUp();
}
Expand Down

0 comments on commit cb6540c

Please sign in to comment.