We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04a5485 commit fc2b3f3Copy full SHA for fc2b3f3
app/src/main/java/io/neoterm/setup/SetupThread.java
@@ -50,16 +50,16 @@ public void run() {
50
deleteFolder(stagingPrefixFile);
51
}
52
53
- int totalBytes = 0;
54
int totalReadBytes = 0;
55
final byte[] buffer = new byte[8096];
56
final List<Pair<String, String>> symlinks = new ArrayList<>(50);
57
58
- totalBytes = sourceConnection.getSize();
59
60
try (ZipInputStream zipInput = new ZipInputStream(sourceConnection.getInputStream())) {
61
ZipEntry zipEntry;
62
+ int totalBytes = sourceConnection.getSize();
+
63
while ((zipEntry = zipInput.getNextEntry()) != null) {
64
totalReadBytes += zipEntry.getCompressedSize();
65
0 commit comments