Clean up warnings

This commit is contained in:
Sam Brannen
2019-03-31 14:36:35 +02:00
parent e8cfc4df45
commit 085cb1dd92
2 changed files with 1 additions and 2 deletions

View File

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

View File

@@ -35,7 +35,6 @@ import java.util.concurrent.CountDownLatch;
import io.netty.buffer.ByteBuf;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.mockito.stubbing.Answer;
import org.reactivestreams.Subscription;