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-io.git
The following commit(s) were added to refs/heads/master by this push:
new cd9620dc2 Normalize parameter names
cd9620dc2 is described below
commit cd9620dc21145e186a522a0419f1a203c92b1b21
Author: Gary Gregory <[email protected]>
AuthorDate: Sun Jul 14 12:01:21 2024 -0400
Normalize parameter names
---
src/main/java/org/apache/commons/io/HexDump.java | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
diff --git a/src/main/java/org/apache/commons/io/HexDump.java
b/src/main/java/org/apache/commons/io/HexDump.java
index 0a53e3d6b..e747be6d6 100644
--- a/src/main/java/org/apache/commons/io/HexDump.java
+++ b/src/main/java/org/apache/commons/io/HexDump.java
@@ -199,30 +199,29 @@ public class HexDump {
/**
* Dumps a byte value into a StringBuilder.
*
- * @param _cbuffer the StringBuilder to dump the value in
+ * @param builder the StringBuilder to dump the value in
* @param value the byte value to be dumped
* @return StringBuilder containing the dumped value.
*/
- private static StringBuilder dump(final StringBuilder _cbuffer, final byte
value) {
+ private static StringBuilder dump(final StringBuilder builder, final byte
value) {
for (int j = 0; j < 2; j++) {
- _cbuffer.append(HEX_CODES[value >> SHIFTS[j + 6] & 15]);
+ builder.append(HEX_CODES[value >> SHIFTS[j + 6] & 15]);
}
- return _cbuffer;
+ return builder;
}
/**
* Dumps a long value into a StringBuilder.
*
- * @param _lbuffer the StringBuilder to dump the value in
+ * @param builder the StringBuilder to dump the value in
* @param value the long value to be dumped
* @return StringBuilder containing the dumped value.
*/
- private static StringBuilder dump(final StringBuilder _lbuffer, final long
value) {
+ private static StringBuilder dump(final StringBuilder builder, final long
value) {
for (int j = 0; j < 8; j++) {
- _lbuffer
- .append(HEX_CODES[(int) (value >> SHIFTS[j]) & 15]);
+ builder.append(HEX_CODES[(int) (value >> SHIFTS[j]) & 15]);
}
- return _lbuffer;
+ return builder;
}
/**