Refactoring

This commit is contained in:
M66B
2019-09-02 08:30:13 +02:00
parent 4d5794a51b
commit 03f97c7e3b
3 changed files with 17 additions and 9 deletions

View File

@@ -871,14 +871,6 @@ public class Helper {
return true;
}
static String getTld(String host) {
String[] h = host.split("\\.");
if (h.length >= 2)
return h[h.length - 2] + "." + h[h.length - 1];
else
return host;
}
static int getSize(Bundle bundle) {
Parcel p = Parcel.obtain();
bundle.writeToParcel(p, 0);