mirror of
https://github.com/apache/maven.git
synced 2025-02-06 10:09:04 +00:00
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 @@ protected DefaultToolchain( ToolchainModel model, String type, Logger logger )
|
||||
|
||||
public final String getType( )
|
||||
{
|
||||
return type;
|
||||
return type != null ? type : model.getType();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user