mirror of
https://github.com/stleary/JSON-java.git
synced 2026-05-19 00:00:46 -04:00
add validity check for JSONObject constructors
* fixes #713 * document JSONException in JavaDoc * remove unused Comparable<T> boundary to reuse GenericBean in test
This commit is contained in:
@@ -9,7 +9,7 @@ import java.io.StringReader;
|
||||
* @param <T>
|
||||
* generic number value
|
||||
*/
|
||||
public class GenericBean<T extends Number & Comparable<T>> implements MyBean {
|
||||
public class GenericBean<T extends Number> implements MyBean {
|
||||
/**
|
||||
* @param genericValue
|
||||
* value to initiate with
|
||||
|
||||
Reference in New Issue
Block a user