mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-06 18:55:30 +08:00
Merge pull request #417 from stleary/fix-double-ctor
fix double ctor in JSONWriter
This commit is contained in:
@@ -391,7 +391,7 @@ public class JSONWriter {
|
|||||||
* @throws JSONException If the number is not finite.
|
* @throws JSONException If the number is not finite.
|
||||||
*/
|
*/
|
||||||
public JSONWriter value(double d) throws JSONException {
|
public JSONWriter value(double d) throws JSONException {
|
||||||
return this.value(new Double(d));
|
return this.value(Double.valueOf(d));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user