Added {} to if

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1065210 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2011-01-30 07:40:24 +00:00
parent 2bed62603d
commit db06926828

View File

@ -58,8 +58,10 @@ public ExceptionContext addValue(String label, Object value) {
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);