Fix some Checkstyle issues

- Remove unused imports
- Fix issues relating to line length / whitespace
- Update Checkstyle suppression in matcher classes with new check name
This commit is contained in:
ljacqu
2022-01-30 10:32:49 +01:00
parent 97dd9964f3
commit 571c6106a7
9 changed files with 15 additions and 12 deletions
@@ -304,12 +304,12 @@ public class GeoIpService {
*
* @param ip textual IP address to lookup
* @return the wrapped Country model or {@link Optional#empty()} if
* <ul>
* <ul>
* <li>Database reader isn't initialized</li>
* <li>MaxMind has no record about this IP address</li>
* <li>IP address is local</li>
* <li>Textual representation is not a valid IP address</li>
* </ul>
* </ul>
*/
private Optional<Country> getCountry(String ip) {
if (ip == null || ip.isEmpty() || !isDataAvailable()) {