mirror of https://github.com/apache/archiva.git
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 class PropertyEntry
|
|||
|
||||
public int compareTo( PropertyEntry o )
|
||||
{
|
||||
if (o == null || o.getKey() == null)
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
return this.key.compareTo( o.getKey() );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue