Skip to content

Commit 085cb1d

Browse files
committed
Clean up warnings
1 parent e8cfc4d commit 085cb1d

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: spring-core/src/test/java/org/springframework/core/convert/converter/DefaultConversionServiceTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ public void convertStringToCollection() {
531531

532532
@Test
533533
public void convertStringToCollectionWithElementConversion() throws Exception {
534-
List<?> result = (List) conversionService.convert("1,2,3", TypeDescriptor.valueOf(String.class),
534+
List<?> result = (List<?>) conversionService.convert("1,2,3", TypeDescriptor.valueOf(String.class),
535535
new TypeDescriptor(getClass().getField("genericList")));
536536
assertEquals(3, result.size());
537537
assertEquals(1, result.get(0));

Diff for: spring-core/src/test/java/org/springframework/core/io/buffer/DataBufferUtilsTests.java

-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535

3636
import io.netty.buffer.ByteBuf;
3737
import org.junit.Before;
38-
import org.junit.Ignore;
3938
import org.junit.Test;
4039
import org.mockito.stubbing.Answer;
4140
import org.reactivestreams.Subscription;

0 commit comments

Comments
 (0)