Skip to content

Commit 212d5a7

Browse files
authored
Simplify short literal assignment (#1567)
1 parent 137e194 commit 212d5a7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/java/org/apache/commons/lang3/ArrayFillTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void testFillObjectArrayNull() {
200200
@Test
201201
void testFillShortArray() {
202202
final short[] array = new short[3];
203-
final short val = (byte) 1;
203+
final short val = 1;
204204
final short[] actual = ArrayFill.fill(array, val);
205205
assertSame(array, actual);
206206
for (final short v : actual) {

0 commit comments

Comments
 (0)