Repository: logging-log4j2 Updated Branches: refs/heads/master aa7a86dbf -> 176ed5dbd
Reuse constant. Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/176ed5db Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/176ed5db Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/176ed5db Branch: refs/heads/master Commit: 176ed5dbd200f95a3b975f3953506539b0e3e343 Parents: aa7a86d Author: Gary Gregory <[email protected]> Authored: Mon Sep 22 09:17:05 2014 -0400 Committer: Gary Gregory <[email protected]> Committed: Mon Sep 22 09:17:05 2014 -0400 ---------------------------------------------------------------------- .../java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/176ed5db/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java ---------------------------------------------------------------------- diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java index b9b22fd..92954dd 100644 --- a/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java +++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/lookup/StrSubstitutor.java @@ -146,7 +146,7 @@ public class StrSubstitutor { /** * Constant for the default variable prefix. */ - public static final StrMatcher DEFAULT_PREFIX = StrMatcher.stringMatcher("${"); + public static final StrMatcher DEFAULT_PREFIX = StrMatcher.stringMatcher(DEFAULT_ESCAPE + "{"); /** * Constant for the default variable suffix.
