refactor: use proper enum (0 on both) for setMethod() (#3297)

This commit is contained in:
Connor Tumbleson 2023-08-26 21:39:42 -04:00 committed by GitHub
parent b6e283ee62
commit 06c5f462e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ public class Framework {
crc.update(data);
entry = new ZipEntry("resources.arsc");
entry.setSize(data.length);
entry.setMethod(ZipOutputStream.STORED);
entry.setMethod(ZipEntry.STORED);
entry.setCrc(crc.getValue());
out.putNextEntry(entry);
out.write(data);