From 34ca2905c38d17bbded01cf7497eca790e760a39 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 13 Apr 2016 18:38:47 +0200 Subject: Preparations/changes for global image sync --- src/main/java/org/openslx/filetransfer/util/ChunkList.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/java/org/openslx/filetransfer/util/ChunkList.java') 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 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 */ -- cgit v1.2.3-55-g7522