summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/filetransfer/util/ChunkList.java
diff options
context:
space:
mode:
authorSimon Rettberg2016-04-13 18:38:47 +0200
committerSimon Rettberg2016-04-13 18:38:47 +0200
commit34ca2905c38d17bbded01cf7497eca790e760a39 (patch)
tree4dbaff08d7f88d48e685bd514b907c8d77571f16 /src/main/java/org/openslx/filetransfer/util/ChunkList.java
parentremove ruleId from NetRule struct (diff)
downloadmaster-sync-shared-34ca2905c38d17bbded01cf7497eca790e760a39.tar.gz
master-sync-shared-34ca2905c38d17bbded01cf7497eca790e760a39.tar.xz
master-sync-shared-34ca2905c38d17bbded01cf7497eca790e760a39.zip
Preparations/changes for global image sync
Diffstat (limited to 'src/main/java/org/openslx/filetransfer/util/ChunkList.java')
-rw-r--r--src/main/java/org/openslx/filetransfer/util/ChunkList.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/openslx/filetransfer/util/ChunkList.java b/src/main/java/org/openslx/filetransfer/util/ChunkList.java
index d0233ac..1b33102 100644
--- a/src/main/java/org/openslx/filetransfer/util/ChunkList.java
+++ b/src/main/java/org/openslx/filetransfer/util/ChunkList.java
@@ -31,7 +31,7 @@ public class ChunkList
private final List<FileChunk> completeChunks = new ArrayList<>( 100 );
- // 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying
+ // 0 = complete, 1 = missing, 2 = uploading, 3 = queued for copying, 4 = copying, 5 = hashing
private final ByteBuffer statusArray;
/**
@@ -50,8 +50,8 @@ public class ChunkList
/**
* Update the sha1sums of all chunks. This is meant to be used if you passed an incomplete list
- * before (with null elements), so you don't have to has hthe whole file before starting the
- * upload, but periodically update it while thie upload is running.
+ * before (with null elements), so you don't have to hash the whole file before starting the
+ * upload, but periodically update it while the upload is running.
*
* @param sha1Sums list of sums
*/