Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"
This reverts commit cf71b7292a
.
This commit is contained in:
parent
a7a556f954
commit
41737c8f3c
|
@ -859,13 +859,9 @@ public abstract class MessageImpl implements MessageInternal {
|
|||
|
||||
@Override
|
||||
public Object removeProperty(final SimpleString key) {
|
||||
Object oldValue = properties.removeProperty(key);
|
||||
bufferValid = false;
|
||||
|
||||
if (oldValue != null) {
|
||||
bufferValid = false;
|
||||
}
|
||||
|
||||
return oldValue;
|
||||
return properties.removeProperty(key);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue