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
|
@Override
|
||||||
public Object removeProperty(final SimpleString key) {
|
public Object removeProperty(final SimpleString key) {
|
||||||
Object oldValue = properties.removeProperty(key);
|
|
||||||
|
|
||||||
if (oldValue != null) {
|
|
||||||
bufferValid = false;
|
bufferValid = false;
|
||||||
}
|
|
||||||
|
|
||||||
return oldValue;
|
return properties.removeProperty(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue