Remove redundant "extends Object"

This commit is contained in:
Mahmoud Ben Hassine
2023-06-22 11:17:13 +02:00
parent 51f6357e91
commit ee30af4789
8 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2021 the original author or authors.
* Copyright 2006-2023 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.
@@ -389,7 +389,7 @@ public class BeanWrapperFieldSetMapper<T> extends DefaultPropertyEditorRegistrar
* @see CustomEditorConfigurer#setCustomEditors(Map)
*/
@Override
public void setCustomEditors(Map<? extends Object, ? extends PropertyEditor> customEditors) {
public void setCustomEditors(Map<?, ? extends PropertyEditor> customEditors) {
this.isCustomEditorsSet = true;
super.setCustomEditors(customEditors);
}

View File

@@ -60,9 +60,9 @@ public class DefaultPropertyEditorRegistrar implements PropertyEditorRegistrar {
* PropertyEditor).
* @see CustomEditorConfigurer#setCustomEditors(Map)
*/
public void setCustomEditors(Map<? extends Object, ? extends PropertyEditor> customEditors) {
public void setCustomEditors(Map<?, ? extends PropertyEditor> customEditors) {
this.customEditors = new HashMap<>();
for (Entry<? extends Object, ? extends PropertyEditor> entry : customEditors.entrySet()) {
for (Entry<?, ? extends PropertyEditor> entry : customEditors.entrySet()) {
Object key = entry.getKey();
Class<?> requiredType = null;
if (key instanceof Class<?>) {