Skip to content

Commit 47d7d74

Browse files
Fix typo that causes Json.create(String) to throw an exception.
Fixes issue 7485. Review-Link: http://gwt-code-reviews.appspot.com/1802804/ git-svn-id: http://google-web-toolkit.googlecode.com/svn/trunk@11485 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 parent 6878fbe commit 47d7d74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elemental/src/elemental/js/json/JsJsonString.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ static native String getString(JsonValue value) /*-{
3737
* MAGIC: String cast to object interface.
3838
*/
3939
private static native JsJsonString createProd(String string) /*-{
40-
return @elemental.js.json.JsJsonValue::box(Lelemental/json/JsonValue;)(value);
40+
return @elemental.js.json.JsJsonValue::box(Lelemental/json/JsonValue;)(string);
4141
}-*/;
4242

4343
protected JsJsonString() {

0 commit comments

Comments
 (0)