Commit c84e09f6 authored by Ruben Dijkstra's avatar Ruben Dijkstra Committed by Stephane Nicoll

Fix incorrect usage of Assert.notNull()

Closes gh-5931
parent 075d5e8d
...@@ -199,7 +199,7 @@ public class CacheStatisticsAutoConfigurationTests { ...@@ -199,7 +199,7 @@ public class CacheStatisticsAutoConfigurationTests {
private Cache getCache(String cacheName) { private Cache getCache(String cacheName) {
Cache cache = this.cacheManager.getCache(cacheName); Cache cache = this.cacheManager.getCache(cacheName);
Assert.notNull("No cache with name '" + cacheName + "' found."); Assert.notNull(cache, "No cache with name '" + cacheName + "' found.");
return cache; return cache;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment