o Fixed typo

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1070588 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benjamin Bentmann 2011-02-14 17:34:09 +00:00
parent e129567e92
commit a0584affae
1 changed files with 4 additions and 4 deletions

View File

@ -43,7 +43,7 @@ class DefaultDependencyResolutionResult
private List<Dependency> unresolvedDependencies = new ArrayList<Dependency>(); private List<Dependency> unresolvedDependencies = new ArrayList<Dependency>();
private List<Exception> collectionErros = new ArrayList<Exception>(); private List<Exception> collectionErrors = new ArrayList<Exception>();
private Map<Dependency, List<Exception>> resolutionErrors = new IdentityHashMap<Dependency, List<Exception>>(); private Map<Dependency, List<Exception>> resolutionErrors = new IdentityHashMap<Dependency, List<Exception>>();
@ -80,18 +80,18 @@ class DefaultDependencyResolutionResult
public List<Exception> getCollectionErrors() public List<Exception> getCollectionErrors()
{ {
return collectionErros; return collectionErrors;
} }
public void setCollectionErrors( List<Exception> exceptions ) public void setCollectionErrors( List<Exception> exceptions )
{ {
if ( exceptions != null ) if ( exceptions != null )
{ {
this.collectionErros = exceptions; this.collectionErrors = exceptions;
} }
else else
{ {
this.collectionErros = new ArrayList<Exception>(); this.collectionErrors = new ArrayList<Exception>();
} }
} }