Skip to content

Commit f4b049b

Browse files
committed
removed null value for charNULL, see aeron-io/simple-binary-encoding#917
1 parent 1137651 commit f4b049b

9 files changed

Lines changed: 16 additions & 16 deletions

File tree

artio-ilink3-codecs/build/generated-src/iLinkBinary/CmtaGiveUpCD.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public enum CmtaGiveUpCD
1919
/**
2020
* To be used to represent not present or null.
2121
*/
22-
NULL_VAL((byte)48);
22+
NULL_VAL((byte)0);
2323

2424
private final byte value;
2525

@@ -50,7 +50,7 @@ public static CmtaGiveUpCD get(final byte value)
5050
{
5151
case 71: return GiveUp;
5252
case 83: return SGXoffset;
53-
case 48: return NULL_VAL;
53+
case 0: return NULL_VAL;
5454
}
5555

5656
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/CustOrdHandlInst.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public enum CustOrdHandlInst
4343
/**
4444
* To be used to represent not present or null.
4545
*/
46-
NULL_VAL((byte)48);
46+
NULL_VAL((byte)0);
4747

4848
private final byte value;
4949

@@ -78,7 +78,7 @@ public static CustOrdHandlInst get(final byte value)
7878
case 72: return AlgoEngine;
7979
case 87: return DeskElectronic;
8080
case 89: return ClientElectronic;
81-
case 48: return NULL_VAL;
81+
case 0: return NULL_VAL;
8282
}
8383

8484
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/DKReason.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public enum DKReason
5555
/**
5656
* To be used to represent not present or null.
5757
*/
58-
NULL_VAL((byte)48);
58+
NULL_VAL((byte)0);
5959

6060
private final byte value;
6161

@@ -92,7 +92,7 @@ public static DKReason get(final byte value)
9292
case 70: return CalculationDifference;
9393
case 71: return NoMatchingExecutionReport;
9494
case 90: return Other;
95-
case 48: return NULL_VAL;
95+
case 0: return NULL_VAL;
9696
}
9797

9898
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/ExecMode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public enum ExecMode
1919
/**
2020
* To be used to represent not present or null.
2121
*/
22-
NULL_VAL((byte)48);
22+
NULL_VAL((byte)0);
2323

2424
private final byte value;
2525

@@ -50,7 +50,7 @@ public static ExecMode get(final byte value)
5050
{
5151
case 65: return Aggressive;
5252
case 80: return Passive;
53-
case 48: return NULL_VAL;
53+
case 0: return NULL_VAL;
5454
}
5555

5656
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/MassActionOrdTyp.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public enum MassActionOrdTyp
1919
/**
2020
* To be used to represent not present or null.
2121
*/
22-
NULL_VAL((byte)48);
22+
NULL_VAL((byte)0);
2323

2424
private final byte value;
2525

@@ -50,7 +50,7 @@ public static MassActionOrdTyp get(final byte value)
5050
{
5151
case 50: return Limit;
5252
case 52: return StopLimit;
53-
case 48: return NULL_VAL;
53+
case 0: return NULL_VAL;
5454
}
5555

5656
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/OrderType.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public enum OrderType
3131
/**
3232
* To be used to represent not present or null.
3333
*/
34-
NULL_VAL((byte)48);
34+
NULL_VAL((byte)0);
3535

3636
private final byte value;
3737

@@ -64,7 +64,7 @@ public static OrderType get(final byte value)
6464
case 50: return Limit;
6565
case 52: return StopLimit;
6666
case 75: return MarketWithLeftoverAsLimit;
67-
case 48: return NULL_VAL;
67+
case 0: return NULL_VAL;
6868
}
6969

7070
throw new IllegalArgumentException("Unknown value: " + value);

artio-ilink3-codecs/build/generated-src/iLinkBinary/QuoteCancelAck563Decoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1287,7 +1287,7 @@ public static String unsolicitedCancelTypeMetaAttribute(final MetaAttribute meta
12871287

12881288
public static byte unsolicitedCancelTypeNullValue()
12891289
{
1290-
return (byte)48;
1290+
return (byte)0;
12911291
}
12921292

12931293
public static byte unsolicitedCancelTypeMinValue()

artio-ilink3-codecs/build/generated-src/iLinkBinary/QuoteCancelAck563Encoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1254,7 +1254,7 @@ public static String unsolicitedCancelTypeMetaAttribute(final MetaAttribute meta
12541254

12551255
public static byte unsolicitedCancelTypeNullValue()
12561256
{
1257-
return (byte)48;
1257+
return (byte)0;
12581258
}
12591259

12601260
public static byte unsolicitedCancelTypeMinValue()

artio-ilink3-codecs/build/generated-src/iLinkBinary/SMPI.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public enum SMPI
1919
/**
2020
* To be used to represent not present or null.
2121
*/
22-
NULL_VAL((byte)48);
22+
NULL_VAL((byte)0);
2323

2424
private final byte value;
2525

@@ -50,7 +50,7 @@ public static SMPI get(final byte value)
5050
{
5151
case 78: return CancelNewest;
5252
case 79: return CancelOldest;
53-
case 48: return NULL_VAL;
53+
case 0: return NULL_VAL;
5454
}
5555

5656
throw new IllegalArgumentException("Unknown value: " + value);

0 commit comments

Comments
 (0)