From fa36c9080c5577f32def5d0e27e2eac1c2e8f4ed Mon Sep 17 00:00:00 2001 From: Marc Zwart Date: Thu, 1 Mar 2018 17:10:13 +0100 Subject: [PATCH] fixed typo in checksumhelper --- Mage.Updater/src/main/java/com/magefree/update/Updater.java | 4 ++-- .../helpers/{ChechsumHelper.java => ChecksumHelper.java} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename Mage.Updater/src/main/java/com/magefree/update/helpers/{ChechsumHelper.java => ChecksumHelper.java} (97%) diff --git a/Mage.Updater/src/main/java/com/magefree/update/Updater.java b/Mage.Updater/src/main/java/com/magefree/update/Updater.java index ed39bc80b9..fdceb24444 100644 --- a/Mage.Updater/src/main/java/com/magefree/update/Updater.java +++ b/Mage.Updater/src/main/java/com/magefree/update/Updater.java @@ -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 readLocalData() throws Exception { HashMap 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; } diff --git a/Mage.Updater/src/main/java/com/magefree/update/helpers/ChechsumHelper.java b/Mage.Updater/src/main/java/com/magefree/update/helpers/ChecksumHelper.java similarity index 97% rename from Mage.Updater/src/main/java/com/magefree/update/helpers/ChechsumHelper.java rename to Mage.Updater/src/main/java/com/magefree/update/helpers/ChecksumHelper.java index c4d035eeed..c815ede0db 100644 --- a/Mage.Updater/src/main/java/com/magefree/update/helpers/ChechsumHelper.java +++ b/Mage.Updater/src/main/java/com/magefree/update/helpers/ChecksumHelper.java @@ -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;