Repository: commons-text Updated Branches: refs/heads/master 3e2012b73 -> 03cacd843
Format nits. Project: http://git-wip-us.apache.org/repos/asf/commons-text/repo Commit: http://git-wip-us.apache.org/repos/asf/commons-text/commit/03cacd84 Tree: http://git-wip-us.apache.org/repos/asf/commons-text/tree/03cacd84 Diff: http://git-wip-us.apache.org/repos/asf/commons-text/diff/03cacd84 Branch: refs/heads/master Commit: 03cacd843e923e1dadfc4bc09d383b27fc4b4db8 Parents: 3e2012b Author: Gary Gregory <garydgreg...@gmail.com> Authored: Sat Feb 10 10:55:46 2018 -0700 Committer: Gary Gregory <garydgreg...@gmail.com> Committed: Sat Feb 10 10:55:46 2018 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/commons/text/StrSubstitutor.java | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/commons-text/blob/03cacd84/src/main/java/org/apache/commons/text/StrSubstitutor.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/commons/text/StrSubstitutor.java b/src/main/java/org/apache/commons/text/StrSubstitutor.java index 7bff411..453c06e 100644 --- a/src/main/java/org/apache/commons/text/StrSubstitutor.java +++ b/src/main/java/org/apache/commons/text/StrSubstitutor.java @@ -128,14 +128,17 @@ public class StrSubstitutor { * Constant for the default escape character. */ public static final char DEFAULT_ESCAPE = '$'; + /** * Constant for the default variable prefix. */ public static final StrMatcher DEFAULT_PREFIX = StrMatcher.stringMatcher("${"); + /** * Constant for the default variable suffix. */ public static final StrMatcher DEFAULT_SUFFIX = StrMatcher.stringMatcher("}"); + /** * Constant for the default value delimiter of a variable. */ @@ -145,30 +148,37 @@ public class StrSubstitutor { * Stores the escape character. */ private char escapeChar; + /** * Stores the variable prefix. */ private StrMatcher prefixMatcher; + /** * Stores the variable suffix. */ private StrMatcher suffixMatcher; + /** * Stores the default variable value delimiter. */ private StrMatcher valueDelimiterMatcher; + /** * Variable resolution is delegated to an implementor of VariableResolver. */ private StrLookup<?> variableResolver; + /** * The flag whether substitution in variable names is enabled. */ private boolean enableSubstitutionInVariables; + /** * Whether escapes should be preserved. Default is false; */ private boolean preserveEscapes = false; + /** * The flag whether substitution in variable values is disabled. */