Repository: commons-text
Updated Branches:
  refs/heads/master b962c35db -> 62d8ada45


Update StringSubstitutor JavaDoc

Its just class name replacement, propably refactoring miss

Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/62d8ada4
Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/62d8ada4
Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/62d8ada4

Branch: refs/heads/master
Commit: 62d8ada45af760c8a5cb1a89f3e9ecee15f0bade
Parents: b962c35
Author: Arkadiusz Wrzos <[email protected]>
Authored: Thu Jun 28 01:17:47 2018 +0200
Committer: GitHub <[email protected]>
Committed: Thu Jun 28 01:17:47 2018 +0200

----------------------------------------------------------------------
 src/main/java/org/apache/commons/text/StringSubstitutor.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/commons-text/blob/62d8ada4/src/main/java/org/apache/commons/text/StringSubstitutor.java
----------------------------------------------------------------------
diff --git a/src/main/java/org/apache/commons/text/StringSubstitutor.java 
b/src/main/java/org/apache/commons/text/StringSubstitutor.java
index 30180f0..4fcbc4b 100644
--- a/src/main/java/org/apache/commons/text/StringSubstitutor.java
+++ b/src/main/java/org/apache/commons/text/StringSubstitutor.java
@@ -41,7 +41,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * The simplest example is to use this class to replace Java System 
properties. For example:
  *
  * <pre>
- * StrSubstitutor
+ * StringSubstitutor
  *         .replaceSystemProperties("You are running with java.version = 
${java.version} and os.name = ${os.name}.");
  * </pre>
  * <p>
@@ -56,7 +56,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * valuesMap.put(&quot;animal&quot;, &quot;quick brown fox&quot;);
  * valuesMap.put(&quot;target&quot;, &quot;lazy dog&quot;);
  * String templateString = &quot;The ${animal} jumped over the 
${target}.&quot;;
- * StrSubstitutor sub = new StrSubstitutor(valuesMap);
+ * StringSubstitutor sub = new StringSubstitutor(valuesMap);
  * String resolvedString = sub.replace(templateString);
  * </pre>
  *
@@ -78,7 +78,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * valuesMap.put(&quot;animal&quot;, &quot;quick brown fox&quot;);
  * valuesMap.put(&quot;target&quot;, &quot;lazy dog&quot;);
  * String templateString = &quot;The ${animal} jumped over the ${target}. 
${undefined.number:-1234567890}.&quot;;
- * StrSubstitutor sub = new StrSubstitutor(valuesMap);
+ * StringSubstitutor sub = new StringSubstitutor(valuesMap);
  * String resolvedString = sub.replace(templateString);
  * </pre>
  *
@@ -123,7 +123,7 @@ import org.apache.commons.text.matcher.StringMatcherFactory;
  * ${jre-${java.specification.version}}
  * </pre>
  *
- * <code>StrSubstitutor</code> supports this recursive substitution in 
variable names, but it has to be enabled
+ * <code>StringSubstitutor</code> supports this recursive substitution in 
variable names, but it has to be enabled
  * explicitly by setting the {@link #setEnableSubstitutionInVariables(boolean) 
enableSubstitutionInVariables} property
  * to <b>true</b>.
  * <p>

Reply via email to