X-Git-Url: http://plrg.eecs.uci.edu/git/?p=iotcloud.git;a=blobdiff_plain;f=version2%2Fsrc%2FC%2FCommitPart.h;h=9a5772f305f2a6c755342181a91fb65781c4e819;hp=4a481ad57ea243564af950a5f83fbbaba5d593f6;hb=c3666021ffae881f13e3c293ab427c292ccbfd02;hpb=d6c27611d268cac2b4371bb333f50d79fc41bf14 diff --git a/version2/src/C/CommitPart.h b/version2/src/C/CommitPart.h index 4a481ad..9a5772f 100644 --- a/version2/src/C/CommitPart.h +++ b/version2/src/C/CommitPart.h @@ -17,7 +17,7 @@ class CommitPart extends Entry{ private char[] data = NULL; private Pair partId = NULL; - private Pair commitId = NULL; + private Pair commitId = NULL; public CommitPart(Slot s, int64_t _machineId, int64_t _sequenceNumber, int64_t _transactionSequenceNumber, int _partNumber, char[] _data, Boolean _isLastPart) { @@ -30,7 +30,7 @@ class CommitPart extends Entry{ data = _data; partId = new Pair(sequenceNumber, partNumber); - commitId = new Pair(machineId, sequenceNumber); + commitId = new Pair(machineId, sequenceNumber); } public int getSize() { @@ -60,7 +60,7 @@ class CommitPart extends Entry{ return partId; } - public Pair getCommitId() { + public Pair getCommitId() { return commitId; }