Skip to content

Commit 06f6c28

Browse files
committed
fix test
1 parent 5070310 commit 06f6c28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

iabgpp-encoder/src/main/java/com/iab/gpp/encoder/datatype/FixedIntegerList.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public Integer set(int index, Integer value) {
3838

3939
public int setInt(int index, int value) {
4040
// NOTE: int 128 is prevented since it would get turned into byte -128
41-
if(value < 0 || value > 128) {
41+
if(value < 0 || value >= 128) {
4242
throw new IllegalArgumentException("FixedIntegerList only supports positive integers less than 128.");
4343
}
4444
int prior = array[index];

0 commit comments

Comments
 (0)