Merge branch '5.1.x'

This commit is contained in:
Juergen Hoeller 2019-07-20 18:23:00 +02:00
commit cdeb1fef5f
8 changed files with 22 additions and 22 deletions

View File

@ -33,11 +33,11 @@ public interface CacheManager {
/** /**
* Get the cache associated with the given name. * Get the cache associated with the given name.
* <p>Note that the cache may be created at runtime if the native provider * <p>Note that the cache may be lazily created at runtime if the
* supports it. * native provider supports it.
* @param name the cache identifier (must not be {@code null}) * @param name the cache identifier (must not be {@code null})
* @return the associated cache, or {@code null} if such a cache does not * @return the associated cache, or {@code null} if such a cache
* exist or could be not created * does not exist or could be not created
*/ */
@Nullable @Nullable
Cache getCache(String name); Cache getCache(String name);

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2016 the original author or authors. * Copyright 2002-2019 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.
@ -174,15 +174,15 @@ public abstract class AbstractCacheManager implements CacheManager, Initializing
} }
/** /**
* Return a missing cache with the specified {@code name} or {@code null} if * Return a missing cache with the specified {@code name}, or {@code null} if
* such cache does not exist or could not be created on the fly. * such a cache does not exist or could not be created on demand.
* <p>Some caches may be created at runtime if the native provider supports * <p>Caches may be lazily created at runtime if the native provider supports it.
* it. If a lookup by name does not yield any result, a subclass gets a chance * If a lookup by name does not yield any result, an {@code AbstractCacheManager}
* to register such a cache at runtime. The returned cache will be automatically * subclass gets a chance to register such a cache at runtime. The returned cache
* added to this instance. * will be automatically added to this cache manager.
* @param name the name of the cache to retrieve * @param name the name of the cache to retrieve
* @return the missing cache or {@code null} if no such cache exists or could be * @return the missing cache, or {@code null} if no such cache exists or could be
* created * created on demand
* @since 4.1 * @since 4.1
* @see #getCache(String) * @see #getCache(String)
*/ */

View File

@ -41,7 +41,7 @@ public interface MessageSource {
/** /**
* Try to resolve the message. Return default message if no message was found. * Try to resolve the message. Return default message if no message was found.
* @param code the code to lookup up, e.g. 'calculator.noRateSet'. * @param code the message code to look up, e.g. 'calculator.noRateSet'.
* MessageSource users are encouraged to base message names on qualified class * MessageSource users are encouraged to base message names on qualified class
* or package names, avoiding potential conflicts and ensuring maximum clarity. * or package names, avoiding potential conflicts and ensuring maximum clarity.
* @param args an array of arguments that will be filled in for params within * @param args an array of arguments that will be filled in for params within
@ -59,7 +59,7 @@ public interface MessageSource {
/** /**
* Try to resolve the message. Treat as an error if the message can't be found. * Try to resolve the message. Treat as an error if the message can't be found.
* @param code the code to lookup up, e.g. 'calculator.noRateSet'. * @param code the message code to look up, e.g. 'calculator.noRateSet'.
* MessageSource users are encouraged to base message names on qualified class * MessageSource users are encouraged to base message names on qualified class
* or package names, avoiding potential conflicts and ensuring maximum clarity. * or package names, avoiding potential conflicts and ensuring maximum clarity.
* @param args an array of arguments that will be filled in for params within * @param args an array of arguments that will be filled in for params within

View File

@ -23,7 +23,7 @@ dependencies {
testCompile("javax.inject:javax.inject-tck:1") testCompile("javax.inject:javax.inject-tck:1")
testCompile("javax.servlet:javax.servlet-api:4.0.1") testCompile("javax.servlet:javax.servlet-api:4.0.1")
testCompile("javax.validation:validation-api:1.1.0.Final") testCompile("javax.validation:validation-api:1.1.0.Final")
testCompile("com.thoughtworks.xstream:xstream:1.4.10") testCompile("com.thoughtworks.xstream:xstream:1.4.11.1")
testCompile("org.apache.activemq:activemq-broker:5.8.0") testCompile("org.apache.activemq:activemq-broker:5.8.0")
testCompile("org.apache.activemq:activemq-kahadb-store:5.8.0") { testCompile("org.apache.activemq:activemq-kahadb-store:5.8.0") {
exclude group: "org.springframework", module: "spring-context" exclude group: "org.springframework", module: "spring-context"

View File

@ -59,7 +59,7 @@ dependencies {
compile(project(":spring-core")) compile(project(":spring-core"))
optional("javax.xml.bind:jaxb-api:2.3.1") optional("javax.xml.bind:jaxb-api:2.3.1")
optional("javax.activation:javax.activation-api:1.2.0") optional("javax.activation:javax.activation-api:1.2.0")
optional("com.thoughtworks.xstream:xstream:1.4.10") { optional("com.thoughtworks.xstream:xstream:1.4.11.1") {
exclude group: "xpp3", module: "xpp3_min" exclude group: "xpp3", module: "xpp3_min"
exclude group: "xmlpull", module: "xmlpull" exclude group: "xmlpull", module: "xmlpull"
} }

View File

@ -68,8 +68,8 @@ dependencies {
testCompile("org.junit.platform:junit-platform-testkit") testCompile("org.junit.platform:junit-platform-testkit")
testCompile("org.junit.jupiter:junit-jupiter-params") testCompile("org.junit.jupiter:junit-jupiter-params")
testCompile("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}") testCompile("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
testCompile("com.thoughtworks.xstream:xstream:1.4.10") testCompile("com.thoughtworks.xstream:xstream:1.4.11.1")
testCompile("com.rometools:rome:1.12.0") testCompile("com.rometools:rome:1.12.1")
testCompile("org.apache.tiles:tiles-api:${tiles3Version}") testCompile("org.apache.tiles:tiles-api:${tiles3Version}")
testCompile("org.apache.tiles:tiles-core:${tiles3Version}", withoutJclOverSlf4j) testCompile("org.apache.tiles:tiles-core:${tiles3Version}", withoutJclOverSlf4j)
testCompile("org.apache.tiles:tiles-servlet:${tiles3Version}", withoutJclOverSlf4j) testCompile("org.apache.tiles:tiles-servlet:${tiles3Version}", withoutJclOverSlf4j)

View File

@ -58,7 +58,7 @@ dependencies {
optional("com.google.code.gson:gson:2.8.5") optional("com.google.code.gson:gson:2.8.5")
optional("com.google.protobuf:protobuf-java-util:3.7.1") optional("com.google.protobuf:protobuf-java-util:3.7.1")
optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.4") optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.4")
optional("com.rometools:rome:1.12.0") optional("com.rometools:rome:1.12.1")
optional("com.caucho:hessian:4.0.51") optional("com.caucho:hessian:4.0.51")
optional("org.codehaus.groovy:groovy:${groovyVersion}") optional("org.codehaus.groovy:groovy:${groovyVersion}")
optional("org.jetbrains.kotlin:kotlin-reflect") optional("org.jetbrains.kotlin:kotlin-reflect")

View File

@ -22,8 +22,8 @@ dependencies {
optional("javax.el:javax.el-api:3.0.1-b04") optional("javax.el:javax.el-api:3.0.1-b04")
optional("javax.xml.bind:jaxb-api:2.3.1") optional("javax.xml.bind:jaxb-api:2.3.1")
optional("org.webjars:webjars-locator-core:0.37") optional("org.webjars:webjars-locator-core:0.37")
optional("com.rometools:rome:1.12.0") optional("com.rometools:rome:1.12.1")
optional("com.github.librepdf:openpdf:1.2.17") optional("com.github.librepdf:openpdf:1.2.21")
optional("org.apache.poi:poi-ooxml:4.1.0") optional("org.apache.poi:poi-ooxml:4.1.0")
optional("org.freemarker:freemarker:${freemarkerVersion}") optional("org.freemarker:freemarker:${freemarkerVersion}")
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}") optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")