Spring Minor refactoring for YAML usage

Refactor YAML usage to be flexible in Spring Boot (the PR to Spring Boot will come after this PR)Comment From: asomov@rs...

Spring Deprecate convention-based annotation attribute overrides in favor of @AliasFor

OverviewImplicit convention-based annotation attribute overrides have been supported for a long time; however, Spring Fr...

Spring Introduce DurationEditor for java.time.Duration support

Recently, in a project that is using spring-framework (no spring-boot), I saw a @Configuration class with a lot of confi...

Spring Allow component name to be specified in @ControllerAdvice [SPR-16566]

Peter Luttrell opened SPR-16566 and commentedPlease consider adding a property to the @ControllerAdvice and @RestControl...

Spring Use computeIfAbsent() in ConcurrentMapCacheManager.getCache()

25997 Replace explicit synchronized and implicit synchronized in ConcurrentHashMap::put with modern functional api.Comme...

Spring Issues 29314

https://github.com/spring-projects/spring-framework/issues/29314Comment From: snicollThanks @huifer, I am going to close...

Spring Always logging stack trace on bean dispose/close failed.

MotivationI noticed that warn log on bean close faield is not enough for identify root cause in some case.The actual log...

Spring Remove unnecessary synchronization blocks on maps and refactor

Comment From: DrezirNice refactor. I have one question: why are the synchronizations not needed?Because the map is alrea...

Spring Fix ReloadableResourceBundleMessageSource stale cache

When ReloadableResourceBundleMessageSource.getMessage() is called, cache is initiated with basenames values present at ...

Spring Create XML NamespaceHandler as singleton

In some cases, the existing mechanism for creating a NamespaceHandler may result in repeated creation of the handler.Thi...

Spring Support parse placeholder in beanName

I'm not sure if there is a more elegant way to deal with it. If this proposal can be adopted, I hope you can give me mor...

Spring Optimize AggregatesSpliterator to avoid repetitive work

change if (mergedAnnotation == null) { return tryAdvance(aggregate, action);}toif (mergedAnnotation == null) { ret...

Spring Optimize ObjectUtils.nullSafeHashCode() implementations

Comment From: wind57this is mainly a continuation of this PR. All nullSafeHashCode are deprecated in favor of Arrays::ha...

Spring Introduce SQL statement filter support in JDBC ScriptUtils

so we can skip some sql statements by regex pattern,such as: we do not want run delete/update/drop statements on product...

Spring Optimize ObjectUtils.nullSafeToString() implementations

Comment From: wind57This looks like a small PR, but there are many things going on.First of all I got rid of the String ...

Spring Use computeIfAbsent in SpelCompiler and AdvisedSupport

Use computeIfAbsent to simplify some code, in addition, the content of some Javadoc has been adjusted.Comment From: mdei...

Spring Allow PropertySourcesPlaceholderConfigurer subclass to customize PropertyResolver

BackgroundPrior to Spring 5.2, when we need to customize the PropertiesLoader, we can subclass PropertyPlaceholderConfig...

Spring 1st instance of AOP proxy leaks its advice

Affects: 5.2.8.RELEASEA programmer supplies an implementation of org.aopalliance.aop.Advice to ProxyFactory.addAdvice()....

Spring Inclusion of overloaded in equals() and hashCode() for MethodOverride breaks equals() in AbstractBeanDefinition [SPR-11420]

Sam Brannen opened SPR-11420 and commentedStatus QuoThe overloaded flag in MethodOverride is a mutable property that is ...

Spring Improve performance of CompositePropertySource#getPropertyNames

Create LinkedHashSet with a initialCapacity, prevent underhood table resize cost in continuous add operations.Reduce boo...
上一页 下一页
.