void (int inputId, Value value) { if (myPresentInputIds != null) { Object normalizedValue = wrapValue(value); Object previousValue = myPresentInputIds.remove(inputId); myUpdateOps.add(new UpdateOp(UpdateOp.Type.REMOVE, inputId, normalizedValue)); if (previousValue != null && !previousValue.equals(normalizedValue)) { LOG.error("Can't remove value '" + normalizedValue + "'; input id " + inputId + " is not present for the specified value in:\n" + getDebugMessage()); } } }