mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 19:35:31 -04:00
Removing commented out code
This commit is contained in:
parent
45bcba518f
commit
0d436d92e2
@ -1290,11 +1290,7 @@ public class JSONObject {
|
|||||||
if (val == null) {
|
if (val == null) {
|
||||||
return defaultValue;
|
return defaultValue;
|
||||||
}
|
}
|
||||||
final double doubleValue = val.doubleValue();
|
return val.doubleValue();
|
||||||
// if (Double.isNaN(doubleValue) || Double.isInfinite(doubleValue)) {
|
|
||||||
// return defaultValue;
|
|
||||||
// }
|
|
||||||
return doubleValue;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user