diff options
author | Simon Rettberg | 2016-04-13 18:38:47 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-04-13 18:38:47 +0200 |
commit | 34ca2905c38d17bbded01cf7497eca790e760a39 (patch) | |
tree | 4dbaff08d7f88d48e685bd514b907c8d77571f16 /src/main/java/org/openslx/filetransfer/util/ChunkList.java | |
parent | remove ruleId from NetRule struct (diff) | |
download | master-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.java | 6 |
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 */ |