summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-30 15:17:01 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2009-10-30 15:17:01 +0000
commit6a559d0a70dd203a7eab8ffa3106e3de6ad58b4a (patch)
tree5c1fd01105c52c16dc345198414c58de5287caba
parent468df03be6de07f56dd4fe64981048d6057008d9 (diff)
downloadvaadin-framework-6a559d0a70dd203a7eab8ffa3106e3de6ad58b4a.tar.gz
vaadin-framework-6a559d0a70dd203a7eab8ffa3106e3de6ad58b4a.zip
merged [9529] from 6.1
svn changeset:9530/svn branch:6.2
-rw-r--r--src/com/vaadin/data/util/MethodProperty.java16
1 files changed, 8 insertions, 8 deletions
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;
}
}