NO-JIRA: Fix small typo in variable name and toString representation
This commit is contained in:
parent
6b6578a74a
commit
2645f3df46
|
@ -1030,7 +1030,7 @@ public abstract class AbstractJournalStorageManager extends CriticalComponentImp
|
|||
if (pageTX == null) {
|
||||
ActiveMQServerLogger.LOGGER.journalCannotFindPageTX(pageUpdate.pageTX);
|
||||
} else {
|
||||
if (!pageTX.onUpdate(pageUpdate.recods, null, null)) {
|
||||
if (!pageTX.onUpdate(pageUpdate.records, null, null)) {
|
||||
invalidPGTx = pageTX;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,11 +27,11 @@ public class PageUpdateTXEncoding implements EncodingSupport {
|
|||
|
||||
public long pageTX;
|
||||
|
||||
public int recods;
|
||||
public int records;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "PageUpdateTXEncoding [pageTX=" + pageTX + ", recods=" + recods + "]";
|
||||
return "PageUpdateTXEncoding [pageTX=" + pageTX + ", records=" + records + "]";
|
||||
}
|
||||
|
||||
public PageUpdateTXEncoding() {
|
||||
|
@ -39,19 +39,19 @@ public class PageUpdateTXEncoding implements EncodingSupport {
|
|||
|
||||
public PageUpdateTXEncoding(final long pageTX, final int records) {
|
||||
this.pageTX = pageTX;
|
||||
this.recods = records;
|
||||
this.records = records;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void decode(ActiveMQBuffer buffer) {
|
||||
this.pageTX = buffer.readLong();
|
||||
this.recods = buffer.readInt();
|
||||
this.records = buffer.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void encode(ActiveMQBuffer buffer) {
|
||||
buffer.writeLong(pageTX);
|
||||
buffer.writeInt(recods);
|
||||
buffer.writeInt(records);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue