You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/10/17 12:50:38 UTC
[commons-compress] 06/06: Javadoc: Upper case acronym
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-compress.git
commit 05eba2018e8452be8b0d97048fc69ae22cfbf4c5
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Oct 17 08:50:26 2023 -0400
Javadoc: Upper case acronym
---
.../java/org/apache/commons/compress/utils/ArchiveUtils.java | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
index ed9a0693..4d8f1afb 100644
--- a/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
+++ b/src/main/java/org/apache/commons/compress/utils/ArchiveUtils.java
@@ -150,7 +150,7 @@ public class ArchiveUtils {
}
/**
- * Check if buffer contents matches Ascii String.
+ * Check if buffer contents matches ASCII String.
*
* @param expected the expected string
* @param buffer the buffer
@@ -161,7 +161,7 @@ public class ArchiveUtils {
}
/**
- * Check if buffer contents matches Ascii String.
+ * Check if buffer contents matches ASCII String.
*
* @param expected expected string
* @param buffer the buffer
@@ -212,7 +212,7 @@ public class ArchiveUtils {
}
/**
- * Convert a string to Ascii bytes.
+ * Convert a string to ASCII bytes.
* Used for comparing "magic" strings which need to be independent of the default Locale.
*
* @param inputString string to convert
@@ -226,7 +226,7 @@ public class ArchiveUtils {
* Convert an input byte array to a String using the ASCII character set.
*
* @param inputBytes bytes to convert
- * @return the bytes, interpreted as an Ascii string
+ * @return the bytes, interpreted as an ASCII string
*/
public static String toAsciiString(final byte[] inputBytes){
return new String(inputBytes, US_ASCII);
@@ -238,7 +238,7 @@ public class ArchiveUtils {
* @param inputBytes input byte array
* @param offset offset within array
* @param length length of array
- * @return the bytes, interpreted as an Ascii string
+ * @return the bytes, interpreted as an ASCII string
*/
public static String toAsciiString(final byte[] inputBytes, final int offset, final int length){
return new String(inputBytes, offset, length, US_ASCII);