summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/openslx/imagemaster
diff options
context:
space:
mode:
authorNils Schwabe2014-07-04 14:11:41 +0200
committerNils Schwabe2014-07-04 14:11:41 +0200
commit8a350a2986e98adf2725ba7fc2f7936712969028 (patch)
tree38d6c63038a0366bba75ea2b3f9e4d32b540363e /src/main/java/org/openslx/imagemaster
parentChanged getImage method. So that the client can request blocks. (diff)
downloadmaster-sync-shared-8a350a2986e98adf2725ba7fc2f7936712969028.tar.gz
master-sync-shared-8a350a2986e98adf2725ba7fc2f7936712969028.tar.xz
master-sync-shared-8a350a2986e98adf2725ba7fc2f7936712969028.zip
Begin to implement crc scheduler (not working...)
Diffstat (limited to 'src/main/java/org/openslx/imagemaster')
-rw-r--r--src/main/java/org/openslx/imagemaster/crcchecker/CRCChecker.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/imagemaster/crcchecker/CRCChecker.java b/src/main/java/org/openslx/imagemaster/crcchecker/CRCChecker.java
index 795175d..753809d 100644
--- a/src/main/java/org/openslx/imagemaster/crcchecker/CRCChecker.java
+++ b/src/main/java/org/openslx/imagemaster/crcchecker/CRCChecker.java
@@ -21,6 +21,7 @@ public class CRCChecker
* @param crcFile The crcFile to check against
* @param blocks The blocks to check
* @return List of blocks where the crc matches, or null if the crc file is corrupted
+ * @throws IOException When crc file could not be read
*/
public static List<Integer> checkCRC( String imageFile, String crcFile, List<Integer> blocks ) throws IOException
{