Merge pull request #5931 from Shredder121-me:assert-usage
* pr/5931: Fix incorrect usage of Assert.notNull()
This commit is contained in:
commit
a258a1045c
|
|
@ -199,7 +199,7 @@ public class CacheStatisticsAutoConfigurationTests {
|
|||
|
||||
private Cache getCache(String 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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue