Polishing
This commit is contained in:
@@ -46,7 +46,6 @@ public class NoOpCache implements Cache {
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return this.name;
|
||||
|
||||
@@ -97,7 +97,6 @@ public class GenericApplicationListenerAdapter implements GenericApplicationList
|
||||
ResolvableType declaredEventType = resolveDeclaredEventType(listener.getClass());
|
||||
if (declaredEventType == null || declaredEventType.isAssignableFrom(
|
||||
ResolvableType.forClass(ApplicationEvent.class))) {
|
||||
|
||||
Class<?> targetClass = AopUtils.getTargetClass(listener);
|
||||
if (targetClass != listener.getClass()) {
|
||||
declaredEventType = resolveDeclaredEventType(targetClass);
|
||||
|
||||
@@ -110,7 +110,6 @@ public class KeyNamingStrategy implements ObjectNamingStrategy, InitializingBean
|
||||
* Merges the {@code Properties} configured in the {@code mappings} and
|
||||
* {@code mappingLocations} into the final {@code Properties} instance
|
||||
* used for {@code ObjectName} resolution.
|
||||
* @throws IOException
|
||||
*/
|
||||
@Override
|
||||
public void afterPropertiesSet() throws IOException {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2016 the original author or authors.
|
||||
* Copyright 2002-2017 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -142,7 +142,7 @@ public class DefaultMessageCodesResolver implements MessageCodesResolver, Serial
|
||||
* object/field-specific code, a field-specific code, a plain error code.
|
||||
* <p>Arrays, Lists and Maps are resolved both for specific elements and
|
||||
* the whole collection.
|
||||
* <p>See the {@link DefaultMessageCodesResolver class level Javadoc} for
|
||||
* <p>See the {@link DefaultMessageCodesResolver class level javadoc} for
|
||||
* details on the generated codes.
|
||||
* @return the list of codes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user