mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-09 18:24:26 +02:00
cs fixes, remove unused imports
This commit is contained in:
parent
d821717253
commit
a7d8ca9086
@ -21,7 +21,6 @@ import brut.androlib.err.OutDirExistsException;
|
|||||||
import brut.androlib.res.AndrolibResources;
|
import brut.androlib.res.AndrolibResources;
|
||||||
import brut.androlib.res.data.ResPackage;
|
import brut.androlib.res.data.ResPackage;
|
||||||
import brut.androlib.res.data.ResTable;
|
import brut.androlib.res.data.ResTable;
|
||||||
import brut.androlib.res.data.ResUnknownFiles;
|
|
||||||
import brut.androlib.res.util.ExtFile;
|
import brut.androlib.res.util.ExtFile;
|
||||||
import brut.common.BrutException;
|
import brut.common.BrutException;
|
||||||
import brut.directory.DirectoryException;
|
import brut.directory.DirectoryException;
|
||||||
|
@ -22,7 +22,6 @@ import brut.androlib.res.xml.ResValuesXmlSerializable;
|
|||||||
import brut.androlib.res.xml.ResXmlEncoders;
|
import brut.androlib.res.xml.ResXmlEncoders;
|
||||||
import brut.util.Duo;
|
import brut.util.Duo;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
|
||||||
import org.xmlpull.v1.XmlSerializer;
|
import org.xmlpull.v1.XmlSerializer;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -65,6 +64,5 @@ public class ResPluralsValue extends ResBagValue implements
|
|||||||
|
|
||||||
public static final int BAG_KEY_PLURALS_START = 0x01000004;
|
public static final int BAG_KEY_PLURALS_START = 0x01000004;
|
||||||
public static final int BAG_KEY_PLURALS_END = 0x01000009;
|
public static final int BAG_KEY_PLURALS_END = 0x01000009;
|
||||||
private static final String[] QUANTITY_MAP = new String[] { "other",
|
private static final String[] QUANTITY_MAP = new String[] { "other", "zero", "one", "two", "few", "many" };
|
||||||
"zero", "one", "two", "few", "many" };
|
|
||||||
}
|
}
|
||||||
|
@ -45,12 +45,9 @@ public class ZipExtFile extends ZipFile {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
/**
|
|
||||||
* @author Panxiaobo
|
|
||||||
*/
|
|
||||||
public InputStream getInputStream(ZipArchiveEntry ze)
|
public InputStream getInputStream(ZipArchiveEntry ze)
|
||||||
throws IOException, ZipException {
|
throws IOException {
|
||||||
ze.getGeneralPurposeBit().useEncryption(false);
|
ze.getGeneralPurposeBit().useEncryption(false); // credit: Panxiaobo
|
||||||
return super.getInputStream(ze);
|
return super.getInputStream(ze);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user