mirror of
https://github.com/revanced/Apktool.git
synced 2024-11-11 06:59:24 +01:00
refactor: remove unused methods/variables
This commit is contained in:
parent
65eeb2fb4a
commit
120c63df75
@ -69,12 +69,4 @@ public class MetaInfo {
|
|||||||
public static MetaInfo load(InputStream is) {
|
public static MetaInfo load(InputStream is) {
|
||||||
return getYaml().loadAs(is, MetaInfo.class);
|
return getYaml().loadAs(is, MetaInfo.class);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static MetaInfo load(File file) throws IOException {
|
|
||||||
try (
|
|
||||||
InputStream fis = new FileInputStream(file)
|
|
||||||
) {
|
|
||||||
return load(fis);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,6 @@ import org.xmlpull.v1.XmlSerializer;
|
|||||||
*/
|
*/
|
||||||
public class ResArrayValue extends ResBagValue implements
|
public class ResArrayValue extends ResBagValue implements
|
||||||
ResValuesXmlSerializable {
|
ResValuesXmlSerializable {
|
||||||
private String mRawItems;
|
|
||||||
|
|
||||||
ResArrayValue(ResReferenceValue parent, Duo<Integer, ResScalarValue>[] items) {
|
ResArrayValue(ResReferenceValue parent, Duo<Integer, ResScalarValue>[] items) {
|
||||||
super(parent);
|
super(parent);
|
||||||
|
@ -29,10 +29,6 @@ public class ResFileValue extends ResIntBasedValue {
|
|||||||
this.mPath = path;
|
this.mPath = path;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getPath() {
|
|
||||||
return mPath;
|
|
||||||
}
|
|
||||||
|
|
||||||
public String getStrippedPath() throws AndrolibException {
|
public String getStrippedPath() throws AndrolibException {
|
||||||
if (mPath.startsWith("res/")) {
|
if (mPath.startsWith("res/")) {
|
||||||
return mPath.substring(4);
|
return mPath.substring(4);
|
||||||
|
Loading…
Reference in New Issue
Block a user