Skip to content

Commit

Permalink
cs fixes, remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Oct 29, 2014
1 parent d821717 commit a7d8ca9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
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;

/**
Expand Down Expand Up @@ -65,6 +64,5 @@ public void serializeToResValuesXml(XmlSerializer serializer,

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" };
}
7 changes: 2 additions & 5 deletions brut.j.dir/src/main/java/brut/directory/ZipExtFile.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,9 @@ public ZipExtFile(File f, String encoding, boolean useUnicodeExtraFields) throws
}

@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);
}

Expand Down

0 comments on commit a7d8ca9

Please sign in to comment.