spotbugs cleanup.
This commit is contained in:
parent
0732a0ff91
commit
57a02f9ffb
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ public final class Lookup extends AbstractModule {
|
|||
whoisClient.setSoTimeout(Constants.CONNECT_TIMEOUT);
|
||||
whoisClient.setSoLinger(false, 0);
|
||||
|
||||
if (host.equals(WHOIS_HOST)) {
|
||||
if (WHOIS_HOST.equals(host)) {
|
||||
lines = whoisClient.query("n - " + query).split("\n");
|
||||
} else {
|
||||
lines = whoisClient.query(query).split("\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue