attachment for removeAssociatedValue assertion

This commit is contained in:
Maxim.Mossienko
2012-06-26 21:43:23 +04:00
parent bb7f773708
commit 619d93255d
@@ -85,7 +85,7 @@ class ValueContainerImpl<Value> extends UpdatableValueContainer<Value> implement
final Value value = valueIterator.next();
if (isAssociated(value, inputId)) {
if (toRemove == null) toRemove = new SmartList<Value>();
else LOG.error("Expected only one value per-inputId");
else LOG.error("Expected only one value per-inputId", String.valueOf(toRemove.get(0)), String.valueOf(value));
toRemove.add(value);
}
}