Skip to content

Commit a6284df

Browse files
committed
initial commit
1 parent bfb3008 commit a6284df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JSONWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ public JSONWriter value(boolean b) throws JSONException {
391391
* @throws JSONException If the number is not finite.
392392
*/
393393
public JSONWriter value(double d) throws JSONException {
394-
return this.value(new Double(d));
394+
return this.value(Double.valueOf(d));
395395
}
396396

397397
/**

0 commit comments

Comments
 (0)