mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Clean up warnings in Gradle build, polishing, etc.
This commit is contained in:
-1
@@ -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");
|
||||
|
||||
-1
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user