MAVEN-3430 make sure getType never returns null.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@635690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Milos Kleint 2008-03-10 21:07:54 +00:00
parent c3084c97fb
commit b8042967e0
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ public abstract class DefaultToolchain
public final String getType( )
{
return type;
return type != null ? type : model.getType();
}