diff options
author | Simon Rettberg | 2024-05-08 18:33:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-05-08 18:33:11 +0200 |
commit | b50dea417059f10f01f5fcae62a5c03143affc44 (patch) | |
tree | ba73dd9676d53dcf17431a03d29988bef17d0139 /src/main | |
parent | ChunkList: Add writeCrc32List method (diff) | |
download | master-sync-shared-b50dea417059f10f01f5fcae62a5c03143affc44.tar.gz master-sync-shared-b50dea417059f10f01f5fcae62a5c03143affc44.tar.xz master-sync-shared-b50dea417059f10f01f5fcae62a5c03143affc44.zip |
Minor javadoc fixup
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/openslx/filetransfer/util/ChunkList.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/org/openslx/filetransfer/util/ChunkList.java b/src/main/java/org/openslx/filetransfer/util/ChunkList.java index 4944847..27f8e8c 100644 --- a/src/main/java/org/openslx/filetransfer/util/ChunkList.java +++ b/src/main/java/org/openslx/filetransfer/util/ChunkList.java @@ -93,7 +93,7 @@ public class ChunkList * Get CRC32 list in DNBD3 format. All checksums are little * endian and prefixed by the crc32 sum of the list itself. */ - public synchronized byte[] getDnbd3Crc32List() throws IOException + public synchronized byte[] getDnbd3Crc32List() throws IllegalStateException { byte buffer[] = new byte[ allChunks.size() * 4 + 4 ]; // 4 byte per chunk plus master long nextChunkOffset = 0; @@ -144,7 +144,6 @@ public class ChunkList * Returns true if this list contains a chunk with state MISSING, * which means the chunk doesn't have a sha1 known to exist in * another image. - * @return */ public synchronized boolean hasLocallyMissingChunk() { |