Polishing
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2015 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -34,6 +34,7 @@ public interface CacheResolver {
|
||||
* Return the cache(s) to use for the specified invocation.
|
||||
* @param context the context of the particular invocation
|
||||
* @return the cache(s) to use (never {@code null})
|
||||
* @throws IllegalStateException if cache resolution failed
|
||||
*/
|
||||
Collection<? extends Cache> resolveCaches(CacheOperationInvocationContext<?> context);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2014 the original author or authors.
|
||||
* Copyright 2002-2018 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.
|
||||
@@ -211,7 +211,6 @@ public abstract class AbstractErrors implements Errors, Serializable {
|
||||
return (!fieldErrors.isEmpty() ? fieldErrors.get(0) : null);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Class<?> getFieldType(String field) {
|
||||
Object value = getFieldValue(field);
|
||||
|
||||
Reference in New Issue
Block a user