You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2011/01/30 08:40:24 UTC
svn commit: r1065210 -
/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java
Author: bayard
Date: Sun Jan 30 07:40:24 2011
New Revision: 1065210
URL: http://svn.apache.org/viewvc?rev=1065210&view=rev
Log:
Added {} to if
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java
Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java?rev=1065210&r1=1065209&r2=1065210&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/exception/DefaultExceptionContext.java Sun Jan 30 07:40:24 2011
@@ -58,8 +58,10 @@ class DefaultExceptionContext implements
while (contextValueMap.containsKey(key)) {
Object information = contextValueMap.get(key);
if ((value == null && information == null)
- || (value != null && value.equals(information)))
+ || (value != null && value.equals(information)))
+ {
return this;
+ }
key = label + "[" + ++i +"]";
}
contextValueMap.put(key, value);