[BUGFIX] happy eyeball fix null pointers
This commit is contained in:
parent
3cc75939bc
commit
5e0856ee69
|
@ -381,7 +381,7 @@ public class Resolver {
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Result{" +
|
return "Result{" +
|
||||||
"ip='" + (ip == null ? null : ip.getHostAddress()) + '\'' +
|
"ip='" + (ip == null ? null : ip.getHostAddress()) + '\'' +
|
||||||
", hostame='" + hostname.toString() + '\'' +
|
", hostame='" + (hostname == null ? null : hostname.toString()) + '\'' +
|
||||||
", port=" + port +
|
", port=" + port +
|
||||||
", directTls=" + directTls +
|
", directTls=" + directTls +
|
||||||
", authenticated=" + authenticated +
|
", authenticated=" + authenticated +
|
||||||
|
|
Loading…
Reference in New Issue