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-lang.git


The following commit(s) were added to refs/heads/master by this push:
     new 8b91981bf Add comment
8b91981bf is described below

commit 8b91981bf647312d2b0af0cc5d00d42f5d843868
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Dec 27 08:51:27 2025 -0500

    Add comment
---
 src/main/java/org/apache/commons/lang3/CharSequenceUtils.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java 
b/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
index 7feb62d14..a3e274ca9 100644
--- a/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
+++ b/src/main/java/org/apache/commons/lang3/CharSequenceUtils.java
@@ -357,6 +357,7 @@ public static CharSequence subSequence(final CharSequence 
cs, final int start) {
      * @since 3.11
      */
     public static char[] toCharArray(final CharSequence source) {
+        // See CharSequenceUtilsBenchmark
         final int len = StringUtils.length(source);
         if (len == 0) {
             return ArrayUtils.EMPTY_CHAR_ARRAY;

Reply via email to