ARTEMIS-1089 fixing compilation
This commit is contained in:
parent
8a4a307653
commit
c30e7cd1da
|
@ -18,9 +18,7 @@ package org.apache.activemq.artemis.core.protocol.core.impl.wireformat;
|
||||||
|
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
import io.netty.buffer.Unpooled;
|
|
||||||
import org.apache.activemq.artemis.api.core.ActiveMQBuffer;
|
import org.apache.activemq.artemis.api.core.ActiveMQBuffer;
|
||||||
import org.apache.activemq.artemis.core.buffers.impl.ChannelBufferWrapper;
|
|
||||||
import org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl;
|
import org.apache.activemq.artemis.core.protocol.core.impl.PacketImpl;
|
||||||
import org.apache.activemq.artemis.spi.core.protocol.RemotingConnection;
|
import org.apache.activemq.artemis.spi.core.protocol.RemotingConnection;
|
||||||
import org.apache.activemq.artemis.utils.DataConstants;
|
import org.apache.activemq.artemis.utils.DataConstants;
|
||||||
|
|
|
@ -68,7 +68,7 @@ public final class ReplicationAddMessage extends PacketImpl {
|
||||||
DataConstants.SIZE_LONG + // buffer.writeLong(id);
|
DataConstants.SIZE_LONG + // buffer.writeLong(id);
|
||||||
DataConstants.SIZE_BYTE + // buffer.writeByte(journalRecordType);
|
DataConstants.SIZE_BYTE + // buffer.writeByte(journalRecordType);
|
||||||
DataConstants.SIZE_INT + // buffer.writeInt(persister.getEncodeSize(encodingData));
|
DataConstants.SIZE_INT + // buffer.writeInt(persister.getEncodeSize(encodingData));
|
||||||
persister.getEncodeSize(encodingData);// persister.encode(buffer, encodingData);
|
encodingData.getEncodeSize(); // encodingData.encode(buffer);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -73,7 +73,7 @@ public class ReplicationAddTXMessage extends PacketImpl {
|
||||||
DataConstants.SIZE_LONG + // buffer.writeLong(id);
|
DataConstants.SIZE_LONG + // buffer.writeLong(id);
|
||||||
DataConstants.SIZE_BYTE + // buffer.writeByte(recordType);
|
DataConstants.SIZE_BYTE + // buffer.writeByte(recordType);
|
||||||
DataConstants.SIZE_INT + // buffer.writeInt(persister.getEncodeSize(encodingData));
|
DataConstants.SIZE_INT + // buffer.writeInt(persister.getEncodeSize(encodingData));
|
||||||
persister.getEncodeSize(encodingData); // persister.encode(buffer, encodingData);
|
encodingData.getEncodeSize(); // persister.encode(buffer, encodingData);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -41,7 +41,6 @@ import org.apache.activemq.artemis.core.journal.EncodingSupport;
|
||||||
import org.apache.activemq.artemis.core.journal.impl.JournalFile;
|
import org.apache.activemq.artemis.core.journal.impl.JournalFile;
|
||||||
import org.apache.activemq.artemis.core.paging.PagedMessage;
|
import org.apache.activemq.artemis.core.paging.PagedMessage;
|
||||||
import org.apache.activemq.artemis.core.persistence.OperationContext;
|
import org.apache.activemq.artemis.core.persistence.OperationContext;
|
||||||
import org.apache.activemq.artemis.core.persistence.Persister;
|
|
||||||
import org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager;
|
import org.apache.activemq.artemis.core.persistence.impl.journal.AbstractJournalStorageManager;
|
||||||
import org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl;
|
import org.apache.activemq.artemis.core.persistence.impl.journal.OperationContextImpl;
|
||||||
import org.apache.activemq.artemis.core.protocol.core.Channel;
|
import org.apache.activemq.artemis.core.protocol.core.Channel;
|
||||||
|
|
Loading…
Reference in New Issue