mirror of
https://github.com/revanced/ARSCLib.git
synced 2025-05-09 18:24:26 +02:00
code clean up
This commit is contained in:
parent
b80e0ffe6f
commit
7d50541684
@ -16,7 +16,6 @@
|
|||||||
package com.reandroid.lib.arsc.base;
|
package com.reandroid.lib.arsc.base;
|
||||||
|
|
||||||
import com.reandroid.lib.arsc.container.BlockList;
|
import com.reandroid.lib.arsc.container.BlockList;
|
||||||
import com.reandroid.lib.arsc.container.FixedBlockContainer;
|
|
||||||
import com.reandroid.lib.arsc.io.BlockReader;
|
import com.reandroid.lib.arsc.io.BlockReader;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
@ -27,17 +26,6 @@ public abstract class BlockContainer<T extends Block> extends Block{
|
|||||||
super();
|
super();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected final BlockContainer getTopContainer(){
|
|
||||||
Block parent=this;
|
|
||||||
BlockContainer result=this;
|
|
||||||
while (parent!=null){
|
|
||||||
if(parent instanceof BlockContainer){
|
|
||||||
result=(BlockContainer)parent;
|
|
||||||
}
|
|
||||||
parent=parent.getParent();
|
|
||||||
}
|
|
||||||
return result;
|
|
||||||
}
|
|
||||||
protected void onPreRefreshRefresh(){
|
protected void onPreRefreshRefresh(){
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user