gnodet commented on a change in pull request #268: [MNG-6702] Improve
DefaultModelValidator speed
URL: https://github.com/apache/maven/pull/268#discussion_r300884352
##########
File path:
maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
##########
@@ -1163,6 +1247,27 @@ private boolean validateVersion( String fieldName,
ModelProblemCollector problem
}
+ @SuppressWarnings( "checkstyle:parameternumber" )
+ private boolean validateVersion( String prefix, String fieldName,
ModelProblemCollector problems, Severity severity,
+ Version version, String string, String
sourceHint, InputLocationTracker tracker )
+ {
+ if ( string == null || string.length() <= 0 )
Review comment:
This isn't new code, I'll push a new commit that modifies the existing
method instead of duplicating it.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services