Simplification

pull/209/head
M66B 2 years ago
parent 21b8ba0a2a
commit fad1a1a6e8

@ -330,7 +330,7 @@ public class UriHelper {
Uri result = (s > 0 ? Uri.parse(path.substring(s + 1)) : null);
changed = (result != null);
url = (result == null ? uri : result);
} else if (uri.getHost() != null && uri.getHost().equals("go.dhlparcel.nl")) {
} else if ("go.dhlparcel.nl".equals(uri.getHost())) {
try {
String path = uri.getPath();
int s = path.lastIndexOf('/');

Loading…
Cancel
Save