This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-codec.git


The following commit(s) were added to refs/heads/master by this push:
     new f0dc8e10 Camel-case internal names
f0dc8e10 is described below

commit f0dc8e10ebae7cd6c80c5b9f7c614464054fc9c1
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Thu Oct 19 08:47:20 2023 -0400

    Camel-case internal names
---
 .../org/apache/commons/codec/digest/DigestUtilsTest.java | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java 
b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
index 6a694f19..039b826e 100644
--- a/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
+++ b/src/test/java/org/apache/commons/codec/digest/DigestUtilsTest.java
@@ -111,13 +111,13 @@ public class DigestUtilsTest {
     @Test
     public void testDigestAs() throws IOException {
         final String expected = "d41d8cd98f00b204e9800998ecf8427e";
-        final String pathname = 
"src/test/resources/org/apache/commons/codec/empty.bin";
+        final String pathName = 
"src/test/resources/org/apache/commons/codec/empty.bin";
         final String algo = MessageDigestAlgorithms.MD5;
-        assertEquals(expected, new DigestUtils(algo).digestAsHex(new 
File(pathname)));
-        try (final FileInputStream inputStream = new 
FileInputStream(pathname)) {
+        assertEquals(expected, new DigestUtils(algo).digestAsHex(new 
File(pathName)));
+        try (final FileInputStream inputStream = new 
FileInputStream(pathName)) {
             assertEquals(expected, new 
DigestUtils(algo).digestAsHex(inputStream));
         }
-        final byte[] allBytes = Files.readAllBytes(Paths.get(pathname));
+        final byte[] allBytes = Files.readAllBytes(Paths.get(pathName));
         assertEquals(expected, new DigestUtils(algo).digestAsHex(allBytes));
         assertEquals(expected, new 
DigestUtils(algo).digestAsHex(ByteBuffer.wrap(allBytes)));
     }
@@ -319,14 +319,14 @@ public class DigestUtilsTest {
     public void testSha224_FileAsHex() throws IOException {
         assumeJava8();
         final String expected = 
"d14a028c2a3a2bc9476102bb288234c415a2b01f828ea62ac5b3e42f";
-        final String pathname = 
"src/test/resources/org/apache/commons/codec/empty.bin";
+        final String pathName = 
"src/test/resources/org/apache/commons/codec/empty.bin";
         final String algo = MessageDigestAlgorithms.SHA_224;
         final DigestUtils digestUtils = new DigestUtils(algo);
-        assertEquals(expected, digestUtils.digestAsHex(new File(pathname)));
-        try (final FileInputStream inputStream = new 
FileInputStream(pathname)) {
+        assertEquals(expected, digestUtils.digestAsHex(new File(pathName)));
+        try (final FileInputStream inputStream = new 
FileInputStream(pathName)) {
             assertEquals(expected, digestUtils.digestAsHex(inputStream));
         }
-        final byte[] allBytes = Files.readAllBytes(Paths.get(pathname));
+        final byte[] allBytes = Files.readAllBytes(Paths.get(pathName));
         assertEquals(expected, digestUtils.digestAsHex(allBytes));
         assertEquals(expected, 
digestUtils.digestAsHex(ByteBuffer.wrap(allBytes)));
     }

Reply via email to