mirror of https://github.com/apache/activemq.git
simplifying isMarshalled method
This commit is contained in:
parent
a2d92ef786
commit
0a80165a99
|
@ -124,8 +124,7 @@ public abstract class Message extends BaseCommand implements MarshallAware, Mess
|
|||
}
|
||||
|
||||
public boolean isMarshalled() {
|
||||
return content != null && (marshalledProperties != null ||
|
||||
(marshalledProperties == null && properties == null));
|
||||
return content != null && (marshalledProperties != null || properties == null);
|
||||
}
|
||||
|
||||
protected void copy(Message copy) {
|
||||
|
|
Loading…
Reference in New Issue