File tree Expand file tree Collapse file tree 8 files changed +22
-22
lines changed
spring-context/src/main/java/org/springframework Expand file tree Collapse file tree 8 files changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,11 @@ public interface CacheManager {
33
33
34
34
/**
35
35
* 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.
38
38
* @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
41
41
*/
42
42
@ Nullable
43
43
Cache getCache (String name );
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2019 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -174,15 +174,15 @@ protected Cache decorateCache(Cache cache) {
174
174
}
175
175
176
176
/**
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 .
183
183
* @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
186
186
* @since 4.1
187
187
* @see #getCache(String)
188
188
*/
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public interface MessageSource {
41
41
42
42
/**
43
43
* 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'.
45
45
* MessageSource users are encouraged to base message names on qualified class
46
46
* or package names, avoiding potential conflicts and ensuring maximum clarity.
47
47
* @param args an array of arguments that will be filled in for params within
@@ -59,7 +59,7 @@ public interface MessageSource {
59
59
60
60
/**
61
61
* 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'.
63
63
* MessageSource users are encouraged to base message names on qualified class
64
64
* or package names, avoiding potential conflicts and ensuring maximum clarity.
65
65
* @param args an array of arguments that will be filled in for params within
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ dependencies {
23
23
testCompile(" javax.inject:javax.inject-tck:1" )
24
24
testCompile(" javax.servlet:javax.servlet-api:4.0.1" )
25
25
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 " )
27
27
testCompile(" org.apache.activemq:activemq-broker:5.8.0" )
28
28
testCompile(" org.apache.activemq:activemq-kahadb-store:5.8.0" ) {
29
29
exclude group : " org.springframework" , module : " spring-context"
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ dependencies {
59
59
compile(project(" :spring-core" ))
60
60
optional(" javax.xml.bind:jaxb-api:2.3.1" )
61
61
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 " ) {
63
63
exclude group : " xpp3" , module : " xpp3_min"
64
64
exclude group : " xmlpull" , module : " xmlpull"
65
65
}
Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ dependencies {
68
68
testCompile(" org.junit.platform:junit-platform-testkit" )
69
69
testCompile(" org.junit.jupiter:junit-jupiter-params" )
70
70
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 " )
73
73
testCompile(" org.apache.tiles:tiles-api:${ tiles3Version} " )
74
74
testCompile(" org.apache.tiles:tiles-core:${ tiles3Version} " , withoutJclOverSlf4j)
75
75
testCompile(" org.apache.tiles:tiles-servlet:${ tiles3Version} " , withoutJclOverSlf4j)
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ dependencies {
58
58
optional(" com.google.code.gson:gson:2.8.5" )
59
59
optional(" com.google.protobuf:protobuf-java-util:3.7.1" )
60
60
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 " )
62
62
optional(" com.caucho:hessian:4.0.51" )
63
63
optional(" org.codehaus.groovy:groovy:${ groovyVersion} " )
64
64
optional(" org.jetbrains.kotlin:kotlin-reflect" )
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ dependencies {
22
22
optional(" javax.el:javax.el-api:3.0.1-b04" )
23
23
optional(" javax.xml.bind:jaxb-api:2.3.1" )
24
24
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 " )
27
27
optional(" org.apache.poi:poi-ooxml:4.1.0" )
28
28
optional(" org.freemarker:freemarker:${ freemarkerVersion} " )
29
29
optional(" com.fasterxml.jackson.core:jackson-databind:${ jackson2Version} " )
You can’t perform that action at this time.
0 commit comments