mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+3
-4
@@ -36,10 +36,9 @@ public abstract class AbstractValueAdaptingCacheTests<T extends AbstractValueAda
|
||||
protected void cachePutNullValueAllowNullFalse() {
|
||||
T cache = getCache(false);
|
||||
String key = createRandomKey();
|
||||
assertThatIllegalArgumentException().isThrownBy(() ->
|
||||
cache.put(key, null))
|
||||
.withMessageContaining(CACHE_NAME_NO_NULL)
|
||||
.withMessageContaining("is configured to not allow null values but null was provided");
|
||||
assertThatIllegalArgumentException().isThrownBy(() -> cache.put(key, null))
|
||||
.withMessageContaining(CACHE_NAME_NO_NULL)
|
||||
.withMessageContaining("is configured to not allow null values but null was provided");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -854,7 +854,6 @@ public class AntPathMatcher implements PathMatcher {
|
||||
*/
|
||||
private static class PatternInfo {
|
||||
|
||||
|
||||
private final @Nullable String pattern;
|
||||
|
||||
private int uriVars;
|
||||
|
||||
Reference in New Issue
Block a user