@ -107,14 +107,14 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
@@ -107,14 +107,14 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
/** Defaults to {@value #DEFAULT_VALUE_SEPARATOR} */
@ -143,13 +143,13 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
@@ -143,13 +143,13 @@ public abstract class PlaceholderConfigurerSupport extends PropertyResourceConfi
@ -81,8 +80,10 @@ public class EhCacheCacheManager extends AbstractTransactionSupportingCacheManag
@@ -81,8 +80,10 @@ public class EhCacheCacheManager extends AbstractTransactionSupportingCacheManag
@Override
protectedCollection<Cache>loadCaches(){
Statusstatus=getCacheManager().getStatus();
Assert.isTrue(Status.STATUS_ALIVE.equals(status),
"An 'alive' EhCache CacheManager is required - current cache is "+status.toString());
if(!Status.STATUS_ALIVE.equals(status)){
thrownewIllegalStateException(
"An 'alive' EhCache CacheManager is required - current cache is "+status.toString());
@ -94,8 +95,7 @@ public class EhCacheCacheManager extends AbstractTransactionSupportingCacheManag
@@ -94,8 +95,7 @@ public class EhCacheCacheManager extends AbstractTransactionSupportingCacheManag
@Override
protectedCachegetMissingCache(Stringname){
// check the EhCache cache again
// (in case the cache was added at runtime)
// Check the EhCache cache again (in case the cache was added at runtime)
@ -58,7 +61,8 @@ public class EhCacheCacheManagerTests extends AbstractTransactionSupportingCache
@@ -58,7 +61,8 @@ public class EhCacheCacheManagerTests extends AbstractTransactionSupportingCache
@ -77,4 +81,5 @@ public class EhCacheCacheManagerTests extends AbstractTransactionSupportingCache
@@ -77,4 +81,5 @@ public class EhCacheCacheManagerTests extends AbstractTransactionSupportingCache
@ -55,7 +58,8 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
@@ -55,7 +58,8 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
@ -75,9 +79,11 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
@@ -75,9 +79,11 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
cacheManagerMock.removeCache(cacheName);
}
privatestaticclassCacheManagerMock{
privatefinalList<String>cacheNames;
privatefinalCacheManagercacheManager;
privateCacheManagerMock(){
@ -103,4 +109,5 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
@@ -103,4 +109,5 @@ public class JCacheCacheManagerTests extends AbstractTransactionSupportingCacheM
@ -42,11 +42,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@@ -42,11 +42,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@ -65,6 +64,7 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@@ -65,6 +64,7 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@ -77,10 +77,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@@ -77,10 +77,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@ -109,8 +109,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@@ -109,8 +109,10 @@ public abstract class AbstractTransactionSupportingCacheManagerTests<T extends C
@ -43,8 +45,7 @@ public class RunAfterTestClassCallbacks extends Statement {
@@ -43,8 +45,7 @@ public class RunAfterTestClassCallbacks extends Statement {
@ -54,12 +55,13 @@ public class RunAfterTestClassCallbacks extends Statement {
@@ -54,12 +55,13 @@ public class RunAfterTestClassCallbacks extends Statement {
@ -67,15 +69,15 @@ public class RunAfterTestClassCallbacks extends Statement {
@@ -67,15 +69,15 @@ public class RunAfterTestClassCallbacks extends Statement {
@ -48,8 +50,7 @@ public class RunAfterTestMethodCallbacks extends Statement {
@@ -48,8 +50,7 @@ public class RunAfterTestMethodCallbacks extends Statement {
@ -59,19 +60,22 @@ public class RunAfterTestMethodCallbacks extends Statement {
@@ -59,19 +60,22 @@ public class RunAfterTestMethodCallbacks extends Statement {
@ -81,16 +85,16 @@ public class RunAfterTestMethodCallbacks extends Statement {
@@ -81,16 +85,16 @@ public class RunAfterTestMethodCallbacks extends Statement {
@ -39,8 +39,7 @@ public class RunBeforeTestClassCallbacks extends Statement {
@@ -39,8 +39,7 @@ public class RunBeforeTestClassCallbacks extends Statement {
@ -50,10 +49,11 @@ public class RunBeforeTestClassCallbacks extends Statement {
@@ -50,10 +49,11 @@ public class RunBeforeTestClassCallbacks extends Statement {
@ -45,8 +45,7 @@ public class RunBeforeTestMethodCallbacks extends Statement {
@@ -45,8 +45,7 @@ public class RunBeforeTestMethodCallbacks extends Statement {
@ -56,15 +55,18 @@ public class RunBeforeTestMethodCallbacks extends Statement {
@@ -56,15 +55,18 @@ public class RunBeforeTestMethodCallbacks extends Statement {
@ -129,6 +129,8 @@ public abstract class AbstractFallbackTransactionAttributeSource implements Tran
@@ -129,6 +129,8 @@ public abstract class AbstractFallbackTransactionAttributeSource implements Tran