Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@

public class BulkScanWorkerManager {
private static final Logger LOGGER = LogManager.getLogger();
private static BulkScanWorkerManager instance;
private static volatile BulkScanWorkerManager instance;

public static BulkScanWorkerManager getInstance() {
if (instance == null) {
instance = new BulkScanWorkerManager();
synchronized (BulkScanWorkerManager.class) {
if (instance == null) {
instance = new BulkScanWorkerManager();
}
}
}
return instance;
}
Expand Down