mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-16 23:40:51 -07:00
initial commit
This commit is contained in:
parent
bfb300835f
commit
a6284df9c7
1 changed files with 1 additions and 1 deletions
|
@ -391,7 +391,7 @@ public class JSONWriter {
|
|||
* @throws JSONException If the number is not finite.
|
||||
*/
|
||||
public JSONWriter value(double d) throws JSONException {
|
||||
return this.value(new Double(d));
|
||||
return this.value(Double.valueOf(d));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue