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

This reverts commit f492bd9786.
This commit is contained in:
Clebert Suconic 2017-02-17 12:21:24 -05:00
parent f492bd9786
commit 779a19d121
1 changed files with 2 additions and 6 deletions

View File

@ -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); bufferValid = false;
if (oldValue != null) { return properties.removeProperty(key);
bufferValid = false;
}
return oldValue;
} }
@Override @Override