This is an automated email from the ASF dual-hosted git repository.
grobmeier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/logging-chainsaw.git
The following commit(s) were added to refs/heads/master by this push:
new 1bdce45 removed unused initializationLock
1bdce45 is described below
commit 1bdce4580fa1f0bf3814bd66c3b8bb69ebeaf159
Author: Christian Grobmeier <[email protected]>
AuthorDate: Tue Dec 12 16:10:40 2023 +0100
removed unused initializationLock
---
src/main/java/org/apache/log4j/chainsaw/LogUI.java | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/src/main/java/org/apache/log4j/chainsaw/LogUI.java
b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
index 336c22b..eb0a44a 100644
--- a/src/main/java/org/apache/log4j/chainsaw/LogUI.java
+++ b/src/main/java/org/apache/log4j/chainsaw/LogUI.java
@@ -110,9 +110,7 @@ public class LogUI extends JFrame {
private List<ChainsawReceiver> receivers = new ArrayList<>();
private List<ReceiverEventListener> receiverListeners = new ArrayList<>();
private ZeroConfPlugin zeroConf = new ZeroConfPlugin(settingsManager);
-
- private final Object initializationLock = new Object();
-
+
/**
* Clients can register a ShutdownListener to be notified when the user has
* requested Chainsaw to exit.
@@ -547,10 +545,6 @@ public class LogUI extends JFrame {
hideReceiverPanel();
}
- synchronized (initializationLock) {
- initializationLock.notifyAll();
- }
-
/*
* loads the saved tab settings and if there are hidden tabs,
* hide those tabs out of currently loaded tabs..