mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-23 00:45:35 +00:00
Rework
This commit is contained in:
@@ -9,6 +9,10 @@ import java.util.List;
|
||||
@EqualsAndHashCode
|
||||
public class HostAddress {
|
||||
|
||||
public static HostAddress empty() {
|
||||
return new HostAddress("unknown", List.of("unknown"));
|
||||
}
|
||||
|
||||
public static HostAddress of(String host) {
|
||||
if (host == null) {
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user