Skip to content

Commit e144b3a

Browse files
committed
Polishing
1 parent ea1992c commit e144b3a

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

spring-beans/src/main/java/org/springframework/beans/factory/groovy/GroovyBeanDefinitionReader.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,6 @@ public AbstractBeanDefinition bean(Class<?> type, Object...args) {
318318
callable.call(this.currentBeanDefinition);
319319
}
320320
return this.currentBeanDefinition.getBeanDefinition();
321-
322321
}
323322
finally {
324323
this.currentBeanDefinition = current;
@@ -681,8 +680,8 @@ else if (this.currentBeanDefinition != null) {
681680
}
682681

683682
private GroovyDynamicElementReader createDynamicElementReader(String namespace) {
684-
XmlReaderContext readerContext = this.groovyDslXmlBeanDefinitionReader.createReaderContext(new DescriptiveResource(
685-
"Groovy"));
683+
XmlReaderContext readerContext = this.groovyDslXmlBeanDefinitionReader.createReaderContext(
684+
new DescriptiveResource("Groovy"));
686685
BeanDefinitionParserDelegate delegate = new BeanDefinitionParserDelegate(readerContext);
687686
boolean decorating = (this.currentBeanDefinition != null);
688687
if (!decorating) {
@@ -776,7 +775,7 @@ public void setProperty(String property, Object newValue) {
776775

777776

778777
/**
779-
* Wraps a bean definition property an ensures that any RuntimeBeanReference
778+
* Wraps a bean definition property and ensures that any RuntimeBeanReference
780779
* additions to it are deferred for resolution later.
781780
*/
782781
private class GroovyPropertyValue extends GroovyObjectSupport {

spring-beans/src/main/java/org/springframework/beans/factory/support/DefaultSingletonBeanRegistry.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,7 @@ protected void destroyBean(String beanName, @Nullable DisposableBean bean) {
610610
* should <i>not</i> have their own mutexes involved in singleton creation,
611611
* to avoid the potential for deadlocks in lazy-init situations.
612612
*/
613+
@Override
613614
public final Object getSingletonMutex() {
614615
return this.singletonObjects;
615616
}

spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor/JCacheAspectSupport.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ public JCacheOperationSource getCacheOperationSource() {
8888
return this.cacheOperationSource;
8989
}
9090

91+
@Override
9192
public void afterPropertiesSet() {
9293
getCacheOperationSource();
9394

0 commit comments

Comments
 (0)