Repository: logging-log4j2
Updated Branches:
  refs/heads/master b2927d288 -> 58a7543b4


Remove useless parens.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/58a7543b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/58a7543b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/58a7543b

Branch: refs/heads/master
Commit: 58a7543b45b03743ee3e8da442b97403f84f9b33
Parents: b2927d2
Author: Gary Gregory <[email protected]>
Authored: Mon May 18 22:19:06 2015 -0700
Committer: Gary Gregory <[email protected]>
Committed: Mon May 18 22:19:06 2015 -0700

----------------------------------------------------------------------
 .../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/58a7543b/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 923dfed..0b9ead6 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
@@ -868,7 +868,7 @@ public class StrSubstitutor {
         final StrMatcher valueDelimiterMatcher = getValueDelimiterMatcher();
         final boolean substitutionInVariablesEnabled = 
isEnableSubstitutionInVariables();
 
-        final boolean top = (priorVariables == null);
+        final boolean top = priorVariables == null;
         boolean altered = false;
         int lengthChange = 0;
         char[] chars = getChars(buf);

Reply via email to