Skip to content

Commit

Permalink
remove commented old code
Browse files Browse the repository at this point in the history
  • Loading branch information
sv99 committed Jul 3, 2023
1 parent 32710ff commit 78d8d90
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
4 changes: 0 additions & 4 deletions brut.apktool/apktool-cli/src/main/java/brut/apktool/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -204,10 +204,6 @@ private static void cmdDecode(CommandLine cli, Config config) throws AndrolibExc
} catch (DirectoryException ex) {
System.err.println("Could not modify internal dex files. Please ensure you have permission.");
System.exit(1);
} finally {
try {
decoder.close();
} catch (IOException ignored) {}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public ApkDecoder(ExtFile apkFile) {

public ApkDecoder(Config config, ExtFile apkFile) {
mConfig = config;
//mAndRes = new AndrolibResources(config);
mResUnknownFiles = new ResUnknownFiles();
mApkFile = apkFile;
}
Expand Down Expand Up @@ -178,10 +177,6 @@ private boolean hasMultipleSources() throws AndrolibException {
}
}

public void close() throws IOException {
//mAndRes.close();
}

private void writeApkInfo(ApkInfo apkInfo, File outDir) throws AndrolibException {
try {
apkInfo.save(new File(outDir, "apktool.yml"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class ApkInfo {
private String mApkFileName;
public boolean isFrameworkApk;
public UsesFramework usesFramework;
private Map<String, String> mSdkInfo = new LinkedHashMap<>();
private Map<String, String> mSdkInfo = new LinkedHashMap<>();
public PackageInfo packageInfo = new PackageInfo();
public VersionInfo versionInfo = new VersionInfo();
public boolean resourcesAreCompressed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
import java.util.Map;
import java.util.logging.Logger;

final public class ResourcesDecoder {
public class ResourcesDecoder {

private final static Logger LOGGER = Logger.getLogger(ResourcesDecoder.class.getName());

Expand All @@ -58,7 +58,6 @@ final public class ResourcesDecoder {
"android", "com.htc", "com.lge", "com.lge.internal", "yi", "flyme", "air.com.adobe.appentry",
"FFFFFFFFFFFFFFFFFFFFFF" };


public ResourcesDecoder(Config config, ExtFile apkFile) {
mConfig = config;
mApkFile = apkFile;
Expand Down

0 comments on commit 78d8d90

Please sign in to comment.