Removing commented out code

This commit is contained in:
João Farias 2023-03-02 16:39:11 +01:00 committed by GitHub
parent 45bcba518f
commit 0d436d92e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1290,11 +1290,7 @@ public class JSONObject {
if (val == null) {
return defaultValue;
}
final double doubleValue = val.doubleValue();
// if (Double.isNaN(doubleValue) || Double.isInfinite(doubleValue)) {
// return defaultValue;
// }
return doubleValue;
return val.doubleValue();
}
/**