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

commit 0c094ac02efc847c518c5b920dfb542ee9814ee3
Author: Christian Grobmeier <[email protected]>
AuthorDate: Tue Nov 28 22:56:15 2023 +0100

    reformat, removed final from static
---
 src/main/java/org/apache/log4j/chainsaw/osx/OSXIntegration.java | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/log4j/chainsaw/osx/OSXIntegration.java 
b/src/main/java/org/apache/log4j/chainsaw/osx/OSXIntegration.java
index 910aae7..a5def17 100644
--- a/src/main/java/org/apache/log4j/chainsaw/osx/OSXIntegration.java
+++ b/src/main/java/org/apache/log4j/chainsaw/osx/OSXIntegration.java
@@ -20,7 +20,6 @@ import org.apache.log4j.chainsaw.LogUI;
 
 import java.awt.Desktop;
 
-
 /**
  * This class leverages the 'Desktop' awt API in order to follow Mac-specific 
UI guidelines.
  * <p>
@@ -32,20 +31,20 @@ public class OSXIntegration {
     public static final boolean IS_OSX = 
System.getProperty("os.name").startsWith("Mac OS X");
     private static final Desktop desktop = Desktop.getDesktop();
 
-    public static final void init(final LogUI logUI) {
-        if( desktop.isSupported(Desktop.Action.APP_ABOUT) ){
+    public static void init(final LogUI logUI) {
+        if (desktop.isSupported(Desktop.Action.APP_ABOUT)) {
             desktop.setAboutHandler(e ->
                 logUI.showAboutBox()
             );
         }
 
-        if( desktop.isSupported(Desktop.Action.APP_PREFERENCES) ){
+        if (desktop.isSupported(Desktop.Action.APP_PREFERENCES)) {
             desktop.setPreferencesHandler(e ->
                 logUI.showApplicationPreferences()
             );
         }
 
-        if( desktop.isSupported(Desktop.Action.APP_QUIT_HANDLER) ){
+        if (desktop.isSupported(Desktop.Action.APP_QUIT_HANDLER)) {
             desktop.setQuitHandler((e, r) -> {
                     if (
                         logUI.exit()) {

Reply via email to