mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 11:45:36 +00:00
Simplification
This commit is contained in:
parent
21b8ba0a2a
commit
fad1a1a6e8
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue