Clean up warnings in Gradle build, polishing, etc.

This commit is contained in:
Sam Brannen
2020-06-24 14:31:57 +02:00
parent bc9b9bc477
commit b33d2fe683
11 changed files with 67 additions and 83 deletions

View File

@@ -138,7 +138,6 @@ public class RedirectViewTests {
}
@Test
@SuppressWarnings("AssertEqualsBetweenInconvertibleTypes")
public void flashMap() throws Exception {
RedirectView rv = new RedirectView();
rv.setUrl("https://url.somewhere.com/path");

View File

@@ -304,7 +304,6 @@ public class ScriptTemplateViewTests {
assertThat(accessor.getPropertyValue("sharedEngine")).isEqualTo(true);
}
@SuppressWarnings("unchecked")
@Test // gh-23258
public void engineSupplierWithNonSharedEngine() {
this.configurer.setEngineSupplier(() -> mock(InvocableScriptEngine.class));