Merge pull request #4584 from delftswa2018/hotfix/checksumhelper_misspelled_classname

Typo in classname
This commit is contained in:
LevelX2 2018-03-08 17:14:39 +01:00 committed by GitHub
commit 03bb39e1f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
package com.magefree.update;
import com.magefree.update.helpers.ChechsumHelper;
import com.magefree.update.helpers.ChecksumHelper;
import com.magefree.update.helpers.FileHelper;
import java.io.File;
@ -67,7 +67,7 @@ public class Updater {
public HashMap<String, String> readLocalData() throws Exception {
HashMap<String, String> result = new HashMap<>();
for (File f : findFiles()) {
result.put(f.getPath().replaceAll("\\\\", "/"), ChechsumHelper.getSHA1Checksum(f.getPath()));
result.put(f.getPath().replaceAll("\\\\", "/"), ChecksumHelper.getSHA1Checksum(f.getPath()));
}
return result;
}

View file

@ -7,7 +7,7 @@ import java.security.MessageDigest;
/**
* @author Loki
*/
public final class ChechsumHelper {
public final class ChecksumHelper {
public static byte[] createChecksum(String filename) throws Exception {
InputStream fis = null;