mirror of https://github.com/apache/activemq.git
Fix for AMQ-5099, removed dead code
This commit is contained in:
parent
a3701fcb92
commit
5e14eecce6
|
@ -119,20 +119,7 @@ public final class OpenWireFormat implements WireFormat {
|
|||
runMarshallCacheEvictionSweep();
|
||||
}
|
||||
|
||||
// MarshallAware ma = null;
|
||||
// // If not using value caching, then the marshaled form is always the
|
||||
// // same
|
||||
// if (!cacheEnabled && ((DataStructure)command).isMarshallAware()) {
|
||||
// ma = (MarshallAware)command;
|
||||
// }
|
||||
|
||||
ByteSequence sequence = null;
|
||||
// if( ma!=null ) {
|
||||
// sequence = ma.getCachedMarshalledForm(this);
|
||||
// }
|
||||
|
||||
if (sequence == null) {
|
||||
|
||||
int size = 1;
|
||||
if (command != null) {
|
||||
|
||||
|
@ -183,10 +170,6 @@ public final class OpenWireFormat implements WireFormat {
|
|||
sequence = bytesOut.toByteSequence();
|
||||
}
|
||||
|
||||
// if( ma!=null ) {
|
||||
// ma.setCachedMarshalledForm(this, sequence);
|
||||
// }
|
||||
}
|
||||
return sequence;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue