Skip to content

Commit cdeb1fe

Browse files
committed
Merge branch '5.1.x'
2 parents 33979b2 + 9289023 commit cdeb1fe

File tree

8 files changed

+22
-22
lines changed

8 files changed

+22
-22
lines changed

spring-context/src/main/java/org/springframework/cache/CacheManager.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ public interface CacheManager {
3333

3434
/**
3535
* Get the cache associated with the given name.
36-
* <p>Note that the cache may be created at runtime if the native provider
37-
* supports it.
36+
* <p>Note that the cache may be lazily created at runtime if the
37+
* native provider supports it.
3838
* @param name the cache identifier (must not be {@code null})
39-
* @return the associated cache, or {@code null} if such a cache does not
40-
* exist or could be not created
39+
* @return the associated cache, or {@code null} if such a cache
40+
* does not exist or could be not created
4141
*/
4242
@Nullable
4343
Cache getCache(String name);

spring-context/src/main/java/org/springframework/cache/support/AbstractCacheManager.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -174,15 +174,15 @@ protected Cache decorateCache(Cache cache) {
174174
}
175175

176176
/**
177-
* Return a missing cache with the specified {@code name} or {@code null} if
178-
* such cache does not exist or could not be created on the fly.
179-
* <p>Some caches may be created at runtime if the native provider supports
180-
* it. If a lookup by name does not yield any result, a subclass gets a chance
181-
* to register such a cache at runtime. The returned cache will be automatically
182-
* added to this instance.
177+
* Return a missing cache with the specified {@code name}, or {@code null} if
178+
* such a cache does not exist or could not be created on demand.
179+
* <p>Caches may be lazily created at runtime if the native provider supports it.
180+
* If a lookup by name does not yield any result, an {@code AbstractCacheManager}
181+
* subclass gets a chance to register such a cache at runtime. The returned cache
182+
* will be automatically added to this cache manager.
183183
* @param name the name of the cache to retrieve
184-
* @return the missing cache or {@code null} if no such cache exists or could be
185-
* created
184+
* @return the missing cache, or {@code null} if no such cache exists or could be
185+
* created on demand
186186
* @since 4.1
187187
* @see #getCache(String)
188188
*/

spring-context/src/main/java/org/springframework/context/MessageSource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public interface MessageSource {
4141

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

6060
/**
6161
* Try to resolve the message. Treat as an error if the message can't be found.
62-
* @param code the code to lookup up, e.g. 'calculator.noRateSet'.
62+
* @param code the message code to look up, e.g. 'calculator.noRateSet'.
6363
* MessageSource users are encouraged to base message names on qualified class
6464
* or package names, avoiding potential conflicts and ensuring maximum clarity.
6565
* @param args an array of arguments that will be filled in for params within

spring-messaging/spring-messaging.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ dependencies {
2323
testCompile("javax.inject:javax.inject-tck:1")
2424
testCompile("javax.servlet:javax.servlet-api:4.0.1")
2525
testCompile("javax.validation:validation-api:1.1.0.Final")
26-
testCompile("com.thoughtworks.xstream:xstream:1.4.10")
26+
testCompile("com.thoughtworks.xstream:xstream:1.4.11.1")
2727
testCompile("org.apache.activemq:activemq-broker:5.8.0")
2828
testCompile("org.apache.activemq:activemq-kahadb-store:5.8.0") {
2929
exclude group: "org.springframework", module: "spring-context"

spring-oxm/spring-oxm.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ dependencies {
5959
compile(project(":spring-core"))
6060
optional("javax.xml.bind:jaxb-api:2.3.1")
6161
optional("javax.activation:javax.activation-api:1.2.0")
62-
optional("com.thoughtworks.xstream:xstream:1.4.10") {
62+
optional("com.thoughtworks.xstream:xstream:1.4.11.1") {
6363
exclude group: "xpp3", module: "xpp3_min"
6464
exclude group: "xmlpull", module: "xmlpull"
6565
}

spring-test/spring-test.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ dependencies {
6868
testCompile("org.junit.platform:junit-platform-testkit")
6969
testCompile("org.junit.jupiter:junit-jupiter-params")
7070
testCompile("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")
71-
testCompile("com.thoughtworks.xstream:xstream:1.4.10")
72-
testCompile("com.rometools:rome:1.12.0")
71+
testCompile("com.thoughtworks.xstream:xstream:1.4.11.1")
72+
testCompile("com.rometools:rome:1.12.1")
7373
testCompile("org.apache.tiles:tiles-api:${tiles3Version}")
7474
testCompile("org.apache.tiles:tiles-core:${tiles3Version}", withoutJclOverSlf4j)
7575
testCompile("org.apache.tiles:tiles-servlet:${tiles3Version}", withoutJclOverSlf4j)

spring-web/spring-web.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ dependencies {
5858
optional("com.google.code.gson:gson:2.8.5")
5959
optional("com.google.protobuf:protobuf-java-util:3.7.1")
6060
optional("com.googlecode.protobuf-java-format:protobuf-java-format:1.4")
61-
optional("com.rometools:rome:1.12.0")
61+
optional("com.rometools:rome:1.12.1")
6262
optional("com.caucho:hessian:4.0.51")
6363
optional("org.codehaus.groovy:groovy:${groovyVersion}")
6464
optional("org.jetbrains.kotlin:kotlin-reflect")

spring-webmvc/spring-webmvc.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ dependencies {
2222
optional("javax.el:javax.el-api:3.0.1-b04")
2323
optional("javax.xml.bind:jaxb-api:2.3.1")
2424
optional("org.webjars:webjars-locator-core:0.37")
25-
optional("com.rometools:rome:1.12.0")
26-
optional("com.github.librepdf:openpdf:1.2.17")
25+
optional("com.rometools:rome:1.12.1")
26+
optional("com.github.librepdf:openpdf:1.2.21")
2727
optional("org.apache.poi:poi-ooxml:4.1.0")
2828
optional("org.freemarker:freemarker:${freemarkerVersion}")
2929
optional("com.fasterxml.jackson.core:jackson-databind:${jackson2Version}")

0 commit comments

Comments
 (0)