From: Artur Signell Date: Wed, 14 Mar 2012 07:07:54 +0000 (+0200) Subject: Fixed compilation warning X-Git-Tag: 7.0.0.alpha2~329 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=97dbd83137d0c11ebef8370ddfb3252b18eec984;p=vaadin-framework.git Fixed compilation warning --- diff --git a/src/com/vaadin/terminal/gwt/server/JsonCodec.java b/src/com/vaadin/terminal/gwt/server/JsonCodec.java index 44180e78c9..78c1c175a5 100644 --- a/src/com/vaadin/terminal/gwt/server/JsonCodec.java +++ b/src/com/vaadin/terminal/gwt/server/JsonCodec.java @@ -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) {