From dc90651149054cf010984a92b2ea4f5000b0694e Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Mon, 14 Nov 2016 15:50:51 +0100 Subject: [PATCH] fix typo in HashNotMatchException Signed-off-by: Michael Hirsch --- .../artifact/repository/ArtifactFilesystemRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hawkbit-artifact-repository-filesystem/src/main/java/org/eclipse/hawkbit/artifact/repository/ArtifactFilesystemRepository.java b/hawkbit-artifact-repository-filesystem/src/main/java/org/eclipse/hawkbit/artifact/repository/ArtifactFilesystemRepository.java index f8f4801e8..ba14e432f 100644 --- a/hawkbit-artifact-repository-filesystem/src/main/java/org/eclipse/hawkbit/artifact/repository/ArtifactFilesystemRepository.java +++ b/hawkbit-artifact-repository-filesystem/src/main/java/org/eclipse/hawkbit/artifact/repository/ArtifactFilesystemRepository.java @@ -146,7 +146,7 @@ public class ArtifactFilesystemRepository implements ArtifactRepository { return artifact; } if (hash.getSha1() != null && !artifact.getHashes().getSha1().equals(hash.getSha1())) { - throw new HashNotMatchException("The given sh1 hash " + hash.getSha1() + throw new HashNotMatchException("The given sha1 hash " + hash.getSha1() + " does not match with the calcualted sha1 hash " + artifact.getHashes().getSha1(), HashNotMatchException.SHA1); }