mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-04-30 06:14: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);
|
return getSpecTypePairArray().getTypeBlock(typeId, qualifiers);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean isEntryGroupMapLocked() {
|
|
||||||
return entryGroupMapLocked;
|
|
||||||
}
|
|
||||||
private void unlockEntryGroup() {
|
private void unlockEntryGroup() {
|
||||||
synchronized (this){
|
synchronized (this){
|
||||||
if(!this.entryGroupMapLocked){
|
if(!this.entryGroupMapLocked){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
System.err.println("\nUnlocking EntryGroupMap ...");
|
|
||||||
this.entryGroupMapLocked = false;
|
|
||||||
Map<Integer, EntryGroup> map = this.mEntriesGroup;
|
Map<Integer, EntryGroup> map = this.mEntriesGroup;
|
||||||
map.clear();
|
map.clear();
|
||||||
createEntryGroupMap(map);
|
createEntryGroupMap(map);
|
||||||
System.err.println("\nEntryGroupMap unlocked!");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
private void createEntryGroupMap(Map<Integer, EntryGroup> map){
|
private void createEntryGroupMap(Map<Integer, EntryGroup> map){
|
||||||
@ -266,7 +260,7 @@ public class PackageBlock extends Chunk<PackageHeader>
|
|||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
public void updateEntry(Entry entry){
|
public void updateEntry(Entry entry){
|
||||||
if(isEntryGroupMapLocked()){
|
if(this.entryGroupMapLocked){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(entry == null || entry.isNull()){
|
if(entry == null || entry.isNull()){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user