Browse Source

Clean up warnings in tests

pull/35742/head
Sam Brannen 2 months ago
parent
commit
205f3e392d
  1. 4
      spring-beans/src/test/java/org/springframework/beans/factory/xml/UtilNamespaceHandlerTests.java
  2. 1
      spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptEvaluatorTests.java
  3. 1
      spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptFactoryTests.java

4
spring-beans/src/test/java/org/springframework/beans/factory/xml/UtilNamespaceHandlerTests.java

@ -380,7 +380,7 @@ class UtilNamespaceHandlerTests { @@ -380,7 +380,7 @@ class UtilNamespaceHandlerTests {
// For DependencyDescriptor resolution
private Map<String, TestBean> mapWithRef;
private Map<String, TestBean> mapWithTypes;
Map<String, TestBean> mapWithRef;
Map<String, TestBean> mapWithTypes;
}

1
spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptEvaluatorTests.java

@ -31,6 +31,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -31,6 +31,7 @@ import static org.assertj.core.api.Assertions.assertThat;
/**
* @author Juergen Hoeller
*/
@SuppressWarnings("deprecation")
class BshScriptEvaluatorTests {
@Test

1
spring-context/src/test/java/org/springframework/scripting/bsh/BshScriptFactoryTests.java

@ -48,6 +48,7 @@ import static org.mockito.Mockito.mock; @@ -48,6 +48,7 @@ import static org.mockito.Mockito.mock;
* @author Rick Evans
* @author Juergen Hoeller
*/
@SuppressWarnings("deprecation")
class BshScriptFactoryTests {
@Test

Loading…
Cancel
Save