diff --git a/adapter/ohos/Compressor.java b/adapter/ohos/Compressor.java index 1e3a5d2bd23fe6e80802c7bf7ab8d7e285369f30..1f36b2cf267ea53c88401debc32e7afe3ede46ae 100644 --- a/adapter/ohos/Compressor.java +++ b/adapter/ohos/Compressor.java @@ -105,12 +105,11 @@ public class Compressor { // set buffer size of each read private static final int BUFFER_SIZE = 10 * 1024; - private static final long TOO_MANY_SIZE = 1024; private static final long TOO_BIG_SIZE = 0x6400000; private static final Log LOG = new Log(Compressor.class.toString()); private static String versionCode = ""; private static String versionName = ""; - +dd private ZipOutputStream zipOut = null; private boolean mIsContain2x2EntryCard = true; diff --git a/adapter/ohos/FileUtils.java b/adapter/ohos/FileUtils.java index 21c42fb450feaeb841aabdc44c5d774037790657..ca31384ba585e06adc5ee4f4d4ccf1783f2aaf3a 100644 --- a/adapter/ohos/FileUtils.java +++ b/adapter/ohos/FileUtils.java @@ -40,7 +40,6 @@ import java.util.zip.ZipFile; public class FileUtils { private static final int BUFFER_SIZE = 1024; private static final long TOO_BIG_SIZE = 0x6400000; - private static final long TOO_MANY_SIZE = 1024; private static final Log LOG = new Log(FileUtils.class.toString()); /** diff --git a/adapter/ohos/Uncompress.java b/adapter/ohos/Uncompress.java index 7e3dc72826869318573780c8ee3991f3fe7886ea..cd649efc795665be7cf60841d799a11d7d2d05d0 100644 --- a/adapter/ohos/Uncompress.java +++ b/adapter/ohos/Uncompress.java @@ -57,7 +57,6 @@ public class Uncompress { private static final int READ_BUFFER_SIZE = 1024; private static final int BUFFER_SIZE = 10 * 1024; private static final long FILE_TIME = 1546272000000L; - private static final long TOO_MANY_SIZE = 65536; private static final String LIBS_DIR_NAME = "libs"; private static final String CUT_ENTRY_FILENAME = "cut_entry.apk"; private static final String SO_SUFFIX = ".so";