mirror of
https://github.com/apache/archiva.git
synced 2025-03-07 00:49:49 +00:00
prevent possible NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1446363 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3d19a1d2d7
commit
cd9cb8eb82
@ -79,6 +79,10 @@ public String toString()
|
||||
|
||||
public int compareTo( PropertyEntry o )
|
||||
{
|
||||
if (o == null || o.getKey() == null)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return this.key.compareTo( o.getKey() );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user