summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/data/fieldgroup
diff options
context:
space:
mode:
authorArtur Signell <artur@vaadin.com>2015-01-14 10:18:39 +0200
committerArtur Signell <artur@vaadin.com>2015-01-14 10:18:39 +0200
commit032bcef30f5ada7dc1ca6eade07ee596afa25bb3 (patch)
treea036581c2b7ae7e82fdd60ba92b2fe392b85df7a /server/src/com/vaadin/data/fieldgroup
parent8a544b5a6e78337b24a5e56bcde1a21ff6087fae (diff)
parentb356e7e3bba9b08ad9d1ecdfb4d628b8179ef20a (diff)
downloadvaadin-framework-032bcef30f5ada7dc1ca6eade07ee596afa25bb3.tar.gz
vaadin-framework-032bcef30f5ada7dc1ca6eade07ee596afa25bb3.zip
Merge remote-tracking branch 'origin/master' into grid
Conflicts: client/src/com/vaadin/client/communication/AtmospherePushConnection.java server/tests/src/com/vaadin/data/fieldgroup/FieldGroupTests.java shared/src/com/vaadin/shared/util/SharedUtil.java Change-Id: I300b5a92bde562390a56b720adf9a37b795c9513
Diffstat (limited to 'server/src/com/vaadin/data/fieldgroup')
-rw-r--r--server/src/com/vaadin/data/fieldgroup/FieldGroup.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
index 1b598ef720..069cb2e153 100644
--- a/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
+++ b/server/src/com/vaadin/data/fieldgroup/FieldGroup.java
@@ -266,6 +266,14 @@ public class FieldGroup implements Serializable {
configureField(field);
}
+ /**
+ * Wrap property to transactional property.
+ */
+ protected <T> Property.Transactional<T> wrapInTransactionalProperty(
+ Property<T> itemProperty) {
+ return new TransactionalPropertyWrapper<T>(itemProperty);
+ }
+
private void throwIfFieldIsNull(Field<?> field, Object propertyId) {
if (field == null) {
throw new BindException(
@@ -283,11 +291,6 @@ public class FieldGroup implements Serializable {
}
}
- private <T> Property.Transactional<T> wrapInTransactionalProperty(
- Property<T> itemProperty) {
- return new TransactionalPropertyWrapper<T>(itemProperty);
- }
-
/**
* Gets the property with the given property id from the item.
*