mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
attachment for removeAssociatedValue assertion
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user