Remove "final" keywords

Closes gh-11294
This commit is contained in:
Johnny Lim
2017-12-08 22:29:03 +09:00
committed by Stephane Nicoll
parent bd7bd6edc8
commit 6d54072e04
48 changed files with 60 additions and 60 deletions

View File

@@ -34,7 +34,7 @@ public class ConfigFileApplicationContextInitializer
implements ApplicationContextInitializer<ConfigurableApplicationContext> {
@Override
public void initialize(final ConfigurableApplicationContext applicationContext) {
public void initialize(ConfigurableApplicationContext applicationContext) {
new ConfigFileApplicationListener() {
public void apply() {
addPropertySources(applicationContext.getEnvironment(),

View File

@@ -365,13 +365,13 @@ public abstract class AbstractJsonMarshalTester<T> {
this.testerClass = testerClass;
}
public void initFields(final Object testInstance, final M marshaller) {
public void initFields(Object testInstance, M marshaller) {
Assert.notNull(testInstance, "TestInstance must not be null");
Assert.notNull(marshaller, "Marshaller must not be null");
initFields(testInstance, () -> marshaller);
}
public void initFields(final Object testInstance,
public void initFields(Object testInstance,
final ObjectFactory<M> marshaller) {
Assert.notNull(testInstance, "TestInstance must not be null");
Assert.notNull(marshaller, "Marshaller must not be null");

View File

@@ -52,7 +52,7 @@ public class OutputCapture implements TestRule {
private List<Matcher<? super String>> matchers = new ArrayList<>();
@Override
public Statement apply(final Statement base, Description description) {
public Statement apply(Statement base, Description description) {
return new Statement() {
@Override
public void evaluate() throws Throwable {

View File

@@ -1306,7 +1306,7 @@ public class JsonContentAssertTests {
}
private AssertProvider<JsonContentAssert> forJson(final String json) {
private AssertProvider<JsonContentAssert> forJson(String json) {
return () -> new JsonContentAssert(JsonContentAssertTests.class, json);
}

View File

@@ -72,7 +72,7 @@ public class ObjectContentAssertTests {
assertThat(forObject(SOURCE)).asMap();
}
private AssertProvider<ObjectContentAssert<Object>> forObject(final Object source) {
private AssertProvider<ObjectContentAssert<Object>> forObject(Object source) {
return () -> new ObjectContentAssert<>(source);
}