Skip to content

Commit

Permalink
Remove redundant synchronization around cleanupQuery
Browse files Browse the repository at this point in the history
`QueryCatalogs.finish` synchronizes within method body, so method-level
synchronization looks redundant.
  • Loading branch information
findepi committed Nov 10, 2023
1 parent 9d38964 commit 65686fa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2572,7 +2572,7 @@ private synchronized void registerCatalog(CatalogMetadata catalogMetadata)
}
}

private synchronized void finish()
private void finish()
{
List<CatalogMetadata> catalogs;
synchronized (this) {
Expand Down

0 comments on commit 65686fa

Please sign in to comment.