Repository: commons-lang Updated Branches: refs/heads/master ff4497aff -> ea666d523
LANG-1274: StrSubstitutor should state its thread safety (closes #207) Add paragraph to class javadoc stating that StrSubstitutor is not thread safe. Project: http://git-wip-us.apache.org/repos/asf/commons-lang/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-lang/commit/ea666d52 Tree: http://git-wip-us.apache.org/repos/asf/commons-lang/tree/ea666d52 Diff: http://git-wip-us.apache.org/repos/asf/commons-lang/diff/ea666d52 Branch: refs/heads/master Commit: ea666d523021a3c33294030e7c6ac49a77be543a Parents: ff4497a Author: pascalschumacher <pascalschumac...@gmx.net> Authored: Fri Nov 4 18:32:39 2016 +0100 Committer: pascalschumacher <pascalschumac...@gmx.net> Committed: Sun Nov 6 12:15:01 2016 +0100 ---------------------------------------------------------------------- src/changes/changes.xml | 1 + src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java | 1 + 2 files changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ea666d52/src/changes/changes.xml ---------------------------------------------------------------------- diff --git a/src/changes/changes.xml b/src/changes/changes.xml index ff056bb..b2a886f 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -56,6 +56,7 @@ The <action> type attribute can be add,update,fix,remove. <action issue="LANG-1155" type="fix" dev="pschumacher" due-to="Saif Asif, Thiago Andrade">Add StringUtils#unwrap</action> <action issue="LANG-1160" type="add" dev="kinow">StringUtils#abbreviate should support 'custom ellipses' parameter</action> <action issue="LANG-1270" type="add" dev="pschumacher" due-to="Pierre Templier">Add StringUtils#isAnyNotEmpty and #isAnyNotBlank</action> + <action issue="LANG-1274" type="update" dev="pschumacher">StrSubstitutor should state its thread safety</action> <action issue="LANG-1277" type="update" dev="pschumacher" due-to="yufcuy">StringUtils#getLevenshteinDistance reduce memory consumption</action> <action issue="LANG-1279" type="update" dev="ggregory">Update Java requirement from Java 6 to 7.</action> <action issue="LANG-1143" type="update" dev="pschumacher" due-to="sebb">StringUtils should use toXxxxCase(int) rather than toXxxxCase(char)</action> http://git-wip-us.apache.org/repos/asf/commons-lang/blob/ea666d52/src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java b/src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java index db3a99a..811c3b5 100644 --- a/src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java +++ b/src/main/java/org/apache/commons/lang3/text/StrSubstitutor.java @@ -118,6 +118,7 @@ import org.apache.commons.lang3.StringUtils; * names, but it has to be enabled explicitly by setting the * {@link #setEnableSubstitutionInVariables(boolean) enableSubstitutionInVariables} * property to <b>true</b>. + * <p>This class is <b>not</b> thread safe.</p> * * @since 2.2 */