timtebeek commented on code in PR #79:
URL: https://github.com/apache/maven-verifier/pull/79#discussion_r1200709064


##########
src/main/java/org/apache/maven/shared/verifier/Verifier.java:
##########
@@ -1861,7 +1861,7 @@ public  void setDefaultCliArguments( String[] 
defaultCliArguments )
 
     private void setForkMode()
     {
-        if ( StringUtils.isEmpty( mavenHome ) && StringUtils.isEmpty( forkMode 
) )
+        if ( (mavenHome == null || mavenHome.isEmpty()) && (forkMode == null 
|| forkMode.isEmpty()) )

Review Comment:
   ```suggestion
           if ( ( mavenHome == null || mavenHome.isEmpty() ) && ( forkMode == 
null || forkMode.isEmpty() ) )
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to