@@ -60,10 +60,8 @@ public enum Mode {
6060 private final Mode mode ;
6161
6262 BitWiseOperatorTransformer (byte [] secondArray , Mode mode ) {
63- Objects .requireNonNull (secondArray , "the second byte array must not be null" );
64- Objects .requireNonNull (mode , "passed bitwise mode must not be null" );
65- this .secondArray = secondArray ;
66- this .mode = mode ;
63+ this .secondArray = Objects .requireNonNull (secondArray , "the second byte array must not be null" );
64+ this .mode = Objects .requireNonNull (mode , "passed bitwise mode must not be null" );
6765 }
6866
6967 @ Override
@@ -135,10 +133,8 @@ public enum Type {
135133 private final Type type ;
136134
137135 ShiftTransformer (int shiftCount , Type type ) {
138- Objects .requireNonNull (type , "passed shift type must not be null" );
139-
140136 this .shiftCount = shiftCount ;
141- this .type = type ;
137+ this .type = Objects . requireNonNull ( type , "passed shift type must not be null" ) ;
142138 }
143139
144140 @ Override
@@ -169,8 +165,7 @@ final class ConcatTransformer implements BytesTransformer {
169165 private final byte [] secondArray ;
170166
171167 ConcatTransformer (byte [] secondArrays ) {
172- Objects .requireNonNull (secondArrays , "the second byte array must not be null" );
173- this .secondArray = secondArrays ;
168+ this .secondArray = Objects .requireNonNull (secondArrays , "the second byte array must not be null" );
174169 }
175170
176171 @ Override
0 commit comments