fix typo in HashNotMatchException

Signed-off-by: Michael Hirsch <michael.hirsch@bosch-si.com>
This commit is contained in:
Michael Hirsch
2016-11-14 15:50:51 +01:00
parent 998ebd7c4e
commit dc90651149

View File

@@ -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);
}