Remove unneeded @NonNull annotations
See gh-28797
This commit is contained in:
@@ -20,7 +20,6 @@ import java.beans.PropertyDescriptor;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.jspecify.annotations.NonNull;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import org.springframework.beans.BeanWrapper;
|
||||
@@ -90,7 +89,7 @@ public class BeanPropertySqlParameterSource extends AbstractSqlParameterSource {
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull String[] getParameterNames() {
|
||||
public String[] getParameterNames() {
|
||||
return getReadablePropertyNames();
|
||||
}
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ import java.util.Collections;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.jspecify.annotations.NonNull;
|
||||
import org.jspecify.annotations.Nullable;
|
||||
|
||||
import org.springframework.jdbc.core.SqlParameterValue;
|
||||
@@ -174,7 +173,7 @@ public class MapSqlParameterSource extends AbstractSqlParameterSource {
|
||||
}
|
||||
|
||||
@Override
|
||||
public @NonNull String[] getParameterNames() {
|
||||
public String[] getParameterNames() {
|
||||
return StringUtils.toStringArray(this.values.keySet());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user