Polishing

This commit is contained in:
Juergen Hoeller
2026-04-29 21:52:10 +02:00
parent 916cb64581
commit cd5fee5347
2 changed files with 3 additions and 5 deletions
@@ -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;