mirror of
https://github.com/alibaba/fastjson.git
synced 2026-10-29 22:20:03 +08:00
Merge pull request #3303 from SelfRidicule/master
remove extends Object
This commit is contained in:
@@ -131,20 +131,20 @@ public class JSONArray extends JSON implements List<Object>, Cloneable, RandomAc
|
||||
return list.containsAll(c);
|
||||
}
|
||||
|
||||
public boolean addAll(Collection<? extends Object> c) {
|
||||
public boolean addAll(Collection<?> c) {
|
||||
return list.addAll(c);
|
||||
}
|
||||
|
||||
public JSONArray fluentAddAll(Collection<? extends Object> c) {
|
||||
public JSONArray fluentAddAll(Collection<?> c) {
|
||||
list.addAll(c);
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean addAll(int index, Collection<? extends Object> c) {
|
||||
public boolean addAll(int index, Collection<?> c) {
|
||||
return list.addAll(index, c);
|
||||
}
|
||||
|
||||
public JSONArray fluentAddAll(int index, Collection<? extends Object> c) {
|
||||
public JSONArray fluentAddAll(int index, Collection<?> c) {
|
||||
list.addAll(index, c);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -352,11 +352,11 @@ public class JSONObject extends JSON implements Map<String, Object>, Cloneable,
|
||||
return this;
|
||||
}
|
||||
|
||||
public void putAll(Map<? extends String, ? extends Object> m) {
|
||||
public void putAll(Map<? extends String, ?> m) {
|
||||
map.putAll(m);
|
||||
}
|
||||
|
||||
public JSONObject fluentPutAll(Map<? extends String, ? extends Object> m) {
|
||||
public JSONObject fluentPutAll(Map<? extends String, ?> m) {
|
||||
map.putAll(m);
|
||||
return this;
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ public class FastJsonHttpMessageConverter extends AbstractHttpMessageConverter<O
|
||||
* @see org.springframework.http.converter.AbstractHttpMessageConverter#readInternal(java.lang.Class, org.springframework.http.HttpInputMessage)
|
||||
*/
|
||||
@Override
|
||||
protected Object readInternal(Class<? extends Object> clazz, //
|
||||
protected Object readInternal(Class<?> clazz, //
|
||||
HttpInputMessage inputMessage //
|
||||
) throws IOException, HttpMessageNotReadableException {
|
||||
return readType(getType(clazz, null), inputMessage);
|
||||
|
||||
Reference in New Issue
Block a user