diff options
author | Leif Åstrand <leif@vaadin.com> | 2012-06-11 10:55:46 +0300 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2012-06-11 10:55:46 +0300 |
commit | 19bb2292019634acc096426e5121c09026fa2c17 (patch) | |
tree | a8341ae2271667422e4c22f293b56ec1110c6789 | |
parent | bb3fe5acb453b4a4ce14d1c1b54efdcf67f06d97 (diff) | |
download | vaadin-framework-19bb2292019634acc096426e5121c09026fa2c17.tar.gz vaadin-framework-19bb2292019634acc096426e5121c09026fa2c17.zip |
Support generics when decoding Set (#8879)
-rw-r--r-- | src/com/vaadin/terminal/gwt/server/JsonCodec.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/terminal/gwt/server/JsonCodec.java b/src/com/vaadin/terminal/gwt/server/JsonCodec.java index aa61c68338..fb2d289484 100644 --- a/src/com/vaadin/terminal/gwt/server/JsonCodec.java +++ b/src/com/vaadin/terminal/gwt/server/JsonCodec.java @@ -400,7 +400,7 @@ public class JsonCodec implements Serializable { boolean restrictToInternalTypes, JSONArray jsonArray, Application application) throws JSONException { HashSet<Object> set = new HashSet<Object>(); - set.addAll(decodeList(List.class, restrictToInternalTypes, jsonArray, + set.addAll(decodeList(targetType, restrictToInternalTypes, jsonArray, application)); return set; } |