Remove unnecessary final declarations at method level

This commit is contained in:
Juergen Hoeller 2021-10-12 15:17:44 +02:00
parent e4934a90eb
commit eda3ca5fbc
1 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2018 the original author or authors. * Copyright 2002-2021 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -64,24 +64,24 @@ public final class ParserContext {
} }
public final XmlReaderContext getReaderContext() { public XmlReaderContext getReaderContext() {
return this.readerContext; return this.readerContext;
} }
public final BeanDefinitionRegistry getRegistry() { public BeanDefinitionRegistry getRegistry() {
return this.readerContext.getRegistry(); return this.readerContext.getRegistry();
} }
public final BeanDefinitionParserDelegate getDelegate() { public BeanDefinitionParserDelegate getDelegate() {
return this.delegate; return this.delegate;
} }
@Nullable @Nullable
public final BeanDefinition getContainingBeanDefinition() { public BeanDefinition getContainingBeanDefinition() {
return this.containingBeanDefinition; return this.containingBeanDefinition;
} }
public final boolean isNested() { public boolean isNested() {
return (this.containingBeanDefinition != null); return (this.containingBeanDefinition != null);
} }