Fix incorrect usage of Assert.notNull()

Closes gh-5931
This commit is contained in:
Ruben Dijkstra 2016-05-12 18:32:29 +02:00 committed by Stephane Nicoll
parent 075d5e8d12
commit c84e09f611
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}