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); });