Revert "NO-JIRA Remove Property shouldn't invalidate buffer if not found"

This reverts commit cf71b7292a.
This commit is contained in:
Clebert Suconic 2017-02-17 11:52:07 -05:00
parent a7a556f954
commit 41737c8f3c
1 changed files with 2 additions and 6 deletions

View File

@ -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