Polishing

This commit is contained in:
Juergen Hoeller 2012-12-11 20:41:05 +01:00 committed by unknown
parent 801d4714b1
commit e298658ef0
2 changed files with 3 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2011 the original author or authors. * Copyright 2002-2012 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -47,8 +47,7 @@ abstract class CacheOperationSourcePointcut extends StaticMethodMatcherPointcut
return false; return false;
} }
CacheOperationSourcePointcut otherPc = (CacheOperationSourcePointcut) other; CacheOperationSourcePointcut otherPc = (CacheOperationSourcePointcut) other;
return ObjectUtils.nullSafeEquals(getCacheOperationSource(), return ObjectUtils.nullSafeEquals(getCacheOperationSource(), otherPc.getCacheOperationSource());
otherPc.getCacheOperationSource());
} }
@Override @Override

View File

@ -35,7 +35,7 @@ import org.springframework.util.ReflectionUtils;
/** /**
* @author Costin Leau * @author Costin Leau
*/ */
public class AnnotationCacheOperationSourceTest { public class AnnotationCacheOperationSourceTests {
private AnnotationCacheOperationSource source = new AnnotationCacheOperationSource(); private AnnotationCacheOperationSource source = new AnnotationCacheOperationSource();