mirror of https://github.com/apache/activemq.git
added helper method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384568 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6c0df67be6
commit
22bb1bdd41
|
@ -79,6 +79,16 @@ final public class OpenWireFormat implements WireFormat {
|
|||
;
|
||||
}
|
||||
|
||||
public OpenWireFormat copy() {
|
||||
OpenWireFormat answer = new OpenWireFormat();
|
||||
answer.stackTraceEnabled = stackTraceEnabled;
|
||||
answer.tcpNoDelayEnabled = tcpNoDelayEnabled;
|
||||
answer.cacheEnabled = cacheEnabled;
|
||||
answer.tightEncodingEnabled = tightEncodingEnabled;
|
||||
answer.sizePrefixDisabled = sizePrefixDisabled;
|
||||
return answer;
|
||||
}
|
||||
|
||||
public boolean equals(Object object) {
|
||||
if( object == null )
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue