mirror of https://github.com/apache/maven.git
MNG-5313: Unnecessary DefaultModelBuilder.build overload
Submitted by: Jesse Glick git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1362735 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1cf318c15c
commit
94fde61ad2
|
@ -229,12 +229,6 @@ public class DefaultModelBuilder
|
|||
|
||||
public ModelBuildingResult build( ModelBuildingRequest request )
|
||||
throws ModelBuildingException
|
||||
{
|
||||
return build( request, new LinkedHashSet<String>() );
|
||||
}
|
||||
|
||||
private ModelBuildingResult build( ModelBuildingRequest request, Collection<String> importIds )
|
||||
throws ModelBuildingException
|
||||
{
|
||||
DefaultModelBuildingResult result = new DefaultModelBuildingResult();
|
||||
|
||||
|
@ -1003,7 +997,7 @@ public class DefaultModelBuilder
|
|||
ModelBuildingResult importResult;
|
||||
try
|
||||
{
|
||||
importResult = build( importRequest, importIds );
|
||||
importResult = build( importRequest );
|
||||
}
|
||||
catch ( ModelBuildingException e )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue