Skip to content

Commit 1f5240e

Browse files
committed
[CODEC-156] DigestUtils: add APIs named after standard alg name SHA-1.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/codec/trunk@1380026 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2869275 commit 1f5240e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public void testSha1Hex() throws IOException {
238238
"84983e441c3bd26ebaae4aa1f95129e5e54670f1",
239239
DigestUtils.shaHex("abcdbcdecdefdefgefghfghighij" + "hijkijkljklmklmnlmnomnopnopq"));
240240
assertEquals(DigestUtils.shaHex(testData),
241-
DigestUtils.shaHex(new ByteArrayInputStream(testData)));
241+
DigestUtils.sha1Hex(new ByteArrayInputStream(testData)));
242242
}
243243

244244
@Test

0 commit comments

Comments
 (0)