Skip to content

Commit 60594ad

Browse files
committed
Add cast.
1 parent de5605e commit 60594ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

byte-buddy-dep/src/test/java/net/bytebuddy/asm/AdviceTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1632,7 +1632,7 @@ public void testWriteFieldInConstructor() throws Exception {
16321632
.make()
16331633
.load(ClassLoadingStrategy.BOOTSTRAP_LOADER, ClassLoadingStrategy.Default.WRAPPER)
16341634
.getLoaded();
1635-
assertThat(sample.getField(FOO).get(sample.getConstructor().newInstance()), is(FOO));
1635+
assertThat(sample.getField(FOO).get(sample.getConstructor().newInstance()), is((Object) FOO));
16361636
}
16371637

16381638
@Test(expected = IllegalStateException.class)

0 commit comments

Comments
 (0)