mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 18:18:22 +00:00
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:
parent
2bed62603d
commit
db06926828
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user