cs fixes, remove unused imports

This commit is contained in:
Connor Tumbleson 2014-10-29 16:18:47 -05:00
parent d821717253
commit a7d8ca9086
3 changed files with 3 additions and 9 deletions

View File

@ -21,7 +21,6 @@ import brut.androlib.err.OutDirExistsException;
import brut.androlib.res.AndrolibResources;
import brut.androlib.res.data.ResPackage;
import brut.androlib.res.data.ResTable;
import brut.androlib.res.data.ResUnknownFiles;
import brut.androlib.res.util.ExtFile;
import brut.common.BrutException;
import brut.directory.DirectoryException;

View File

@ -22,7 +22,6 @@ import brut.androlib.res.xml.ResValuesXmlSerializable;
import brut.androlib.res.xml.ResXmlEncoders;
import brut.util.Duo;
import java.io.IOException;
import org.apache.commons.lang3.StringUtils;
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_END = 0x01000009;
private static final String[] QUANTITY_MAP = new String[] { "other",
"zero", "one", "two", "few", "many" };
private static final String[] QUANTITY_MAP = new String[] { "other", "zero", "one", "two", "few", "many" };
}

View File

@ -45,12 +45,9 @@ public class ZipExtFile extends ZipFile {
}
@Override
/**
* @author Panxiaobo
*/
public InputStream getInputStream(ZipArchiveEntry ze)
throws IOException, ZipException {
ze.getGeneralPurposeBit().useEncryption(false);
throws IOException {
ze.getGeneralPurposeBit().useEncryption(false); // credit: Panxiaobo
return super.getInputStream(ze);
}