mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Merge pull request #4584 from delftswa2018/hotfix/checksumhelper_misspelled_classname
Typo in classname
This commit is contained in:
commit
03bb39e1f8
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
Loading…
Reference in a new issue