Skip to content

Commit 205f3e3

Browse files
committed
Clean up warnings in tests
1 parent 960df8e commit 205f3e3

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ void testLocalOverrideTrue() {
380380

381381

382382
// For DependencyDescriptor resolution
383-
private Map<String, TestBean> mapWithRef;
384-
private Map<String, TestBean> mapWithTypes;
383+
Map<String, TestBean> mapWithRef;
384+
Map<String, TestBean> mapWithTypes;
385385

386386
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
/**
3232
* @author Juergen Hoeller
3333
*/
34+
@SuppressWarnings("deprecation")
3435
class BshScriptEvaluatorTests {
3536

3637
@Test

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
* @author Rick Evans
4949
* @author Juergen Hoeller
5050
*/
51+
@SuppressWarnings("deprecation")
5152
class BshScriptFactoryTests {
5253

5354
@Test

0 commit comments

Comments
 (0)