mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-29 22:04:25 +02:00
clean unused code
This commit is contained in:
parent
1fcf5a507e
commit
da5dfc03ba
@ -216,20 +216,14 @@ public class PackageBlock extends Chunk<PackageHeader>
|
||||
return getSpecTypePairArray().getTypeBlock(typeId, qualifiers);
|
||||
}
|
||||
|
||||
public boolean isEntryGroupMapLocked() {
|
||||
return entryGroupMapLocked;
|
||||
}
|
||||
private void unlockEntryGroup() {
|
||||
synchronized (this){
|
||||
if(!this.entryGroupMapLocked){
|
||||
return;
|
||||
}
|
||||
System.err.println("\nUnlocking EntryGroupMap ...");
|
||||
this.entryGroupMapLocked = false;
|
||||
Map<Integer, EntryGroup> map = this.mEntriesGroup;
|
||||
map.clear();
|
||||
createEntryGroupMap(map);
|
||||
System.err.println("\nEntryGroupMap unlocked!");
|
||||
}
|
||||
}
|
||||
private void createEntryGroupMap(Map<Integer, EntryGroup> map){
|
||||
@ -266,7 +260,7 @@ public class PackageBlock extends Chunk<PackageHeader>
|
||||
return null;
|
||||
}
|
||||
public void updateEntry(Entry entry){
|
||||
if(isEntryGroupMapLocked()){
|
||||
if(this.entryGroupMapLocked){
|
||||
return;
|
||||
}
|
||||
if(entry == null || entry.isNull()){
|
||||
|
Loading…
x
Reference in New Issue
Block a user