we want EMPTY_BYTE_ARRAY
This commit is contained in:
parent
3a8258a07e
commit
59a5baff81
|
@ -269,7 +269,7 @@ public class ByteUtil {
|
|||
final int firstNonZero = firstNonZeroByte(data);
|
||||
switch (firstNonZero) {
|
||||
case -1:
|
||||
return ZERO_BYTE_ARRAY;
|
||||
return EMPTY_BYTE_ARRAY;
|
||||
|
||||
case 0:
|
||||
return data;
|
||||
|
|
Loading…
Reference in New Issue