Use new Activity Result APIs

This commit is contained in:
NekoInverter committed 2020-12-22 17:12:42 +08:00
1 parent c4b9d82768
commit 304af7dbe8
29 files changed
+224 -281

No files matched your search

@@ -124,7 +124,7 @@ public class Hosts {
if (ip_list == null) {
return false;
}
for (String ip: ip_list.split("\\+")) {
for (String ip : ip_list.split("\\+")) {
if (parseV4(ip) == null && parseV6(ip) == null) {
return false;
}