You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hop.apache.org by ha...@apache.org on 2021/02/04 08:52:04 UTC

[incubator-hop] branch master updated: sonarqube issue - Remove the parentheses around the "objId" parameter

This is an automated email from the ASF dual-hosted git repository.

hansva pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hop.git


The following commit(s) were added to refs/heads/master by this push:
     new 9172212  sonarqube issue - Remove the parentheses around the "objId" parameter
     new 713f900  Merge pull request #600 from nanthakumar1305/sonarqube_20210204
9172212 is described below

commit 91722121a457eef253f9d0648910cf7a99eca3d2
Author: nanthakumar1305 <na...@gmail.com>
AuthorDate: Thu Feb 4 07:33:24 2021 +0000

    sonarqube issue - Remove the parentheses around the "objId" parameter
---
 .../java/org/apache/hop/core/logging/Slf4jLoggingEventListener.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/src/main/java/org/apache/hop/core/logging/Slf4jLoggingEventListener.java b/core/src/main/java/org/apache/hop/core/logging/Slf4jLoggingEventListener.java
index 8bc3bfd..db8e5ab 100644
--- a/core/src/main/java/org/apache/hop/core/logging/Slf4jLoggingEventListener.java
+++ b/core/src/main/java/org/apache/hop/core/logging/Slf4jLoggingEventListener.java
@@ -41,7 +41,7 @@ public class Slf4jLoggingEventListener implements IHopLoggingEventListener {
   @VisibleForTesting Logger diLogger = LoggerFactory.getLogger( "org.apache.hop" );
 
   @VisibleForTesting Function<String, ILoggingObject> logObjProvider =
-    ( objId ) -> LoggingRegistry.getInstance().getLoggingObject( objId );
+      objId -> LoggingRegistry.getInstance().getLoggingObject( objId );
 
   private static final String SEPARATOR = "/";