simplifying isMarshalled method
This commit is contained in:
Christopher L. Shannon (cshannon) 2016-10-27 15:52:39 -04:00
parent a2d92ef786
commit 0a80165a99
1 changed files with 1 additions and 2 deletions

View File

@ -124,8 +124,7 @@ public abstract class Message extends BaseCommand implements MarshallAware, Mess
} }
public boolean isMarshalled() { public boolean isMarshalled() {
return content != null && (marshalledProperties != null || return content != null && (marshalledProperties != null || properties == null);
(marshalledProperties == null && properties == null));
} }
protected void copy(Message copy) { protected void copy(Message copy) {