From fc025c8c78b5646dd9a5d9c9d4a5e254b894d1b4 Mon Sep 17 00:00:00 2001 From: juewe Date: Tue, 25 Jun 2024 08:00:02 +0200 Subject: [PATCH] fix: code layout --- .../luke/app/desktop/components/LogsPanelProvider.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/lucene/luke/src/java/org/apache/lucene/luke/app/desktop/components/LogsPanelProvider.java b/lucene/luke/src/java/org/apache/lucene/luke/app/desktop/components/LogsPanelProvider.java index 8ac40085e87..be98f043a8a 100644 --- a/lucene/luke/src/java/org/apache/lucene/luke/app/desktop/components/LogsPanelProvider.java +++ b/lucene/luke/src/java/org/apache/lucene/luke/app/desktop/components/LogsPanelProvider.java @@ -86,12 +86,10 @@ public final class LogsPanelProvider { clipboard.setContents(selection, null); }); header.add(copyBtn); - - JButton clearBtn = - new JButton( - MessageUtils.getLocalizedMessage("button.clear")); - clearBtn.setMargin(new Insets(3, 3, 3, 3)); - clearBtn.addActionListener( + + JButton clearBtn = new JButton(MessageUtils.getLocalizedMessage("button.clear")); + clearBtn.setMargin(new Insets(3, 3, 3, 3)); + clearBtn.addActionListener( e -> { logTextArea.setText(null); });