mirror of
https://github.com/apache/maven.git
synced 2025-03-07 00:59:51 +00:00
PR: MNG-281
show id if name is null in reactor git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163951 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
91467d5de3
commit
8ace38fbce
@ -367,7 +367,15 @@ public void setName( String name )
|
||||
|
||||
public String getName()
|
||||
{
|
||||
return model.getName();
|
||||
// TODO: this should not be allowed to be null.
|
||||
if ( model.getName() != null )
|
||||
{
|
||||
return model.getName();
|
||||
}
|
||||
else
|
||||
{
|
||||
return getId();
|
||||
}
|
||||
}
|
||||
|
||||
public void setVersion( String version )
|
||||
|
Loading…
x
Reference in New Issue
Block a user