mirror of https://github.com/apache/maven.git
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:
parent
c3084c97fb
commit
b8042967e0
|
@ -58,7 +58,7 @@ public abstract class DefaultToolchain
|
|||
|
||||
public final String getType( )
|
||||
{
|
||||
return type;
|
||||
return type != null ? type : model.getType();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue