]> source.dussan.org Git - vaadin-framework.git/commitdiff
merged [9529] from 6.1
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 30 Oct 2009 15:17:01 +0000 (15:17 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Fri, 30 Oct 2009 15:17:01 +0000 (15:17 +0000)
svn changeset:9530/svn branch:6.2

src/com/vaadin/data/util/MethodProperty.java

index 5b15b66cd58f192695c745bf694d4e566dcac0ca..d0a6a9cbd7f9793904d58de571e8ab18e39b3eca 100644 (file)
@@ -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;
             }
         }