Explicitly close ApplicationContexts and clean up warnings in tests
This commit is contained in:
@@ -27,6 +27,7 @@ import java.io.Serializable;
|
||||
@SuppressWarnings("serial")
|
||||
public class NumberHolder<T extends Number> implements Serializable {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private final T number;
|
||||
|
||||
public NumberHolder(T number) {
|
||||
|
||||
@@ -18,8 +18,10 @@ package org.springframework.beans.testfixture.beans.factory.generator.property;
|
||||
|
||||
public class ConfigurableBean {
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private String name;
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
private Integer counter;
|
||||
|
||||
public void setName(String name) {
|
||||
|
||||
Reference in New Issue
Block a user