From: Matti Tahvonen Date: Fri, 30 Oct 2009 15:17:01 +0000 (+0000) Subject: merged [9529] from 6.1 X-Git-Tag: 6.7.0.beta1~2351 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6a559d0a70dd203a7eab8ffa3106e3de6ad58b4a;p=vaadin-framework.git merged [9529] from 6.1 svn changeset:9530/svn branch:6.2 --- diff --git a/src/com/vaadin/data/util/MethodProperty.java b/src/com/vaadin/data/util/MethodProperty.java index 5b15b66cd5..d0a6a9cbd7 100644 --- a/src/com/vaadin/data/util/MethodProperty.java +++ b/src/com/vaadin/data/util/MethodProperty.java @@ -473,21 +473,21 @@ public class MethodProperty implements Property, Property.ValueChangeNotifier, // Gets the return type from get method if (type.isPrimitive()) { if (type.equals(Boolean.TYPE)) { - type = Boolean.class; + this.type = Boolean.class; } else if (type.equals(Integer.TYPE)) { - type = Integer.class; + this.type = Integer.class; } else if (type.equals(Float.TYPE)) { - type = Float.class; + this.type = Float.class; } else if (type.equals(Double.TYPE)) { - type = Double.class; + this.type = Double.class; } else if (type.equals(Byte.TYPE)) { - type = Byte.class; + this.type = Byte.class; } else if (type.equals(Character.TYPE)) { - type = Character.class; + this.type = Character.class; } else if (type.equals(Short.TYPE)) { - type = Short.class; + this.type = Short.class; } else if (type.equals(Long.TYPE)) { - type = Long.class; + this.type = Long.class; } }