jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fschumac...@apache.org
Subject [jmeter] branch master updated: Remove useless braces for one-liner lambda expression
Date Fri, 21 Aug 2020 15:59:33 GMT
This is an automated email from the ASF dual-hosted git repository.

fschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/jmeter.git


The following commit(s) were added to refs/heads/master by this push:
     new ba27712  Remove useless braces for one-liner lambda expression
ba27712 is described below

commit ba27712991f6df5cce54e9cf5a69ab999ea77e63
Author: Felix Schumacher <felix.schumacher@internetallee.de>
AuthorDate: Fri Aug 21 17:58:01 2020 +0200

    Remove useless braces for one-liner lambda expression
    
    Mainly to trigger a ci build and soothen sonar.
---
 src/core/src/main/java/org/apache/jmeter/SplashScreen.java | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/core/src/main/java/org/apache/jmeter/SplashScreen.java b/src/core/src/main/java/org/apache/jmeter/SplashScreen.java
index 36a71b6..17daf71 100644
--- a/src/core/src/main/java/org/apache/jmeter/SplashScreen.java
+++ b/src/core/src/main/java/org/apache/jmeter/SplashScreen.java
@@ -92,9 +92,7 @@ public class SplashScreen extends JDialog {
      * Show screen
      */
     public void showScreen() {
-        SwingUtilities.invokeLater(() -> {
-            setVisible(true);
-        });
+        SwingUtilities.invokeLater(() -> setVisible(true));
     }
 
     /**


Mime
View raw message