]> source.dussan.org Git - vaadin-framework.git/commitdiff
Fixed compilation warning
authorArtur Signell <artur@vaadin.com>
Wed, 14 Mar 2012 07:07:54 +0000 (09:07 +0200)
committerArtur Signell <artur@vaadin.com>
Wed, 14 Mar 2012 14:01:06 +0000 (16:01 +0200)
src/com/vaadin/terminal/gwt/server/JsonCodec.java

index 44180e78c9cf62503fb9291f5570863d96ccefec..78c1c175a59a5a7b1971fb2b83df54e0880acacf 100644 (file)
@@ -231,7 +231,7 @@ public class JsonCodec implements Serializable {
                     continue;
                 }
                 Method getterMethod = pd.getReadMethod();
-                Object fieldValue = getterMethod.invoke(value, null);
+                Object fieldValue = getterMethod.invoke(value, (Object[]) null);
                 jsonMap.put(fieldName, encode(fieldValue, fieldType, idMapper));
             }
         } catch (Exception e) {