Skip to content

Commit aaef8c5

Browse files
committed
Document protection needs [skip ci]
1 parent fd903ce commit aaef8c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • src/main/java/org/apache/commons/codec/digest

src/main/java/org/apache/commons/codec/digest/B64.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ final class B64 {
3838
/**
3939
* Table with characters for Base64 transformation.
4040
*/
41-
static final char[] B64T_ARRAY = B64T_STRING.toCharArray();
41+
static final char[] B64T_ARRAY = B64T_STRING.toCharArray(); // package access for testing
42+
// N.B. Do not make this protected or public. Array contents are mutable!
4243

4344
/**
4445
* Base64 like conversion of bytes to ASCII chars.

0 commit comments

Comments
 (0)