mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
Remove redundant check
This commit is contained in:
parent
a0ae7eaea8
commit
dd7b397ae5
@ -136,8 +136,7 @@ public class ZipRODirectory extends AbstractDirectory {
|
|||||||
subname = subname.substring(0, pos);
|
subname = subname.substring(0, pos);
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean pointsToParentDirectory = (subname.equals("..") && prefixLen == 0);
|
if (! mDirs.containsKey(subname)) {
|
||||||
if (! mDirs.containsKey(subname) && ! pointsToParentDirectory) {
|
|
||||||
AbstractDirectory dir = new ZipRODirectory(getZipFile(), getPath() + subname + separator);
|
AbstractDirectory dir = new ZipRODirectory(getZipFile(), getPath() + subname + separator);
|
||||||
mDirs.put(subname, dir);
|
mDirs.put(subname, dir);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user