This is an automated email from the ASF dual-hosted git repository.
garydgregory 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 7fbbb713e [LANG-1423] Include wrapping operations in StringUtils
overview (#1850)
7fbbb713e is described below
commit 7fbbb713e12f0058a2da9a11e707bcb403f93014
Author: Reassoonn <[email protected]>
AuthorDate: Mon Nov 2 04:50:59 2026 +0800
[LANG-1423] Include wrapping operations in StringUtils overview (#1850)
* [LANG-1423] Include wrapping operations in StringUtils overview
Document wrap, wrapIfMissing, and unwrap in the class-level operation list
so readers can discover the existing methods and distinguish their purposes.
Assisted-By: OpenAI Codex
* [LANG-1423] Remove changelog entry per review
Revert the manually added changes.xml entry as requested by the maintainer.
Preserve the StringUtils overview documentation.
Assisted-By: OpenAI Codex
---------
Co-authored-by: rys888 <[email protected]>
---
src/main/java/org/apache/commons/lang3/StringUtils.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/org/apache/commons/lang3/StringUtils.java
b/src/main/java/org/apache/commons/lang3/StringUtils.java
index 790bdb3d0..63f9385ee 100644
--- a/src/main/java/org/apache/commons/lang3/StringUtils.java
+++ b/src/main/java/org/apache/commons/lang3/StringUtils.java
@@ -72,6 +72,12 @@
* - appends a suffix to the end of the String if not present</li>
* <li><strong>PrependIfMissing</strong>
* - prepends a prefix to the start of the String if not present</li>
+ * <li><strong>Wrap</strong>
+ * - wraps a String with a character or another String</li>
+ * <li><strong>WrapIfMissing</strong>
+ * - wraps a String only where the wrapping character or String is
missing</li>
+ * <li><strong>Unwrap</strong>
+ * - removes matching wrapping characters or Strings from both ends of a
String</li>
* <li><strong>LeftPad/RightPad/Center/Repeat</strong>
* - pads a String</li>
* <li><strong>UpperCase/LowerCase/SwapCase/Capitalize/Uncapitalize</strong>