mirror of
https://github.com/apache/activemq.git
synced 2025-02-19 08:29:47 +00:00
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) {
|
public boolean equals(Object object) {
|
||||||
if( object == null )
|
if( object == null )
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user