- need to take StringUtils from commons-lang3 as contactCity might be NULL, too
- fixed copyright notice
Signed-off-by: Roland Häder <roland@mxchange.org>
/*
- * Copyright (C) 2017, 2018 Free Software Foundation<roland@mxchange.org>
+ * Copyright (C) 2017, 2018 Free Software Foundation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// ... then ZIP code
SafeNumberUtils.compare(this.getContactZipCode(), contact.getContactZipCode()),
// ... and city
- this.getContactCity().compareTo(contact.getContactCity()),
+ StringUtils.compare(this.getContactCity(), contact.getContactCity()),
// ... street name
StringUtils.compareIgnoreCase(this.getContactStreet(), contact.getContactStreet()),
// ... house number