You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2019/08/16 18:11:21 UTC

[GitHub] [maven] michael-o commented on a change in pull request #279: simplify some code

michael-o commented on a change in pull request #279: simplify some code
URL: https://github.com/apache/maven/pull/279#discussion_r314833058
 
 

 ##########
 File path: maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java
 ##########
 @@ -202,7 +202,7 @@ public void testValidateUniqueProxyId()
         Settings settings = new Settings();
         Proxy proxy = new Proxy();
         String id = null;
-        proxy.setId( id );
+        proxy.setId(null);
 
 Review comment:
   The test probably has been set to null.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services