From 97dbd83137d0c11ebef8370ddfb3252b18eec984 Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Wed, 14 Mar 2012 09:07:54 +0200 Subject: [PATCH] Fixed compilation warning --- src/com/vaadin/terminal/gwt/server/JsonCodec.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.5