Skip to content

Commit d7eb675

Browse files
mdoganmustafaiman
authored andcommitted
Add missing EVENT_PARTITIONS constant
Also fixed a typo `data_size` -> `dataSize`.
1 parent 9948b8f commit d7eb675

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/BitsUtil.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,11 @@ export class BitsUtil {
3232
static EVENT_CACHEBATCHINVALIDATION = 211;
3333
static EVENT_QUERYCACHESINGLE = 212;
3434
static EVENT_QUERYCACHEBATCH = 213;
35-
3635
static EVENT_CACHEPARTITIONLOST = 214;
3736
static EVENT_IMAPINVALIDATION = 215;
3837
static EVENT_IMAPBATCHINVALIDATION = 216;
38+
static EVENT_PARTITIONS = 217;
39+
3940
static BYTE_SIZE_IN_BYTES: number = 1;
4041
static BOOLEAN_SIZE_IN_BYTES: number = 1;
4142
static SHORT_SIZE_IN_BYTES: number = 2;

src/codec/ClientDeployClassesCodec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export class ClientDeployClassesCodec {
4343
var key: string = classDefinitionsItem[0];
4444
var val: any = classDefinitionsItem[1];
4545
dataSize += BitsUtil.calculateSizeString(key);
46-
data_size += BitsUtil.INT_SIZE_IN_BYTES
46+
dataSize += BitsUtil.INT_SIZE_IN_BYTES
4747
val.forEach((valItem: any) => {
4848
dataSize += BitsUtil.BYTE_SIZE_IN_BYTES;
4949
});

0 commit comments

Comments
 (0)