aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/vaadin/data/Buffered.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/vaadin/data/Buffered.java')
-rw-r--r--src/com/vaadin/data/Buffered.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/vaadin/data/Buffered.java b/src/com/vaadin/data/Buffered.java
index 4ad030e859..b818781145 100644
--- a/src/com/vaadin/data/Buffered.java
+++ b/src/com/vaadin/data/Buffered.java
@@ -251,7 +251,7 @@ public interface Buffered extends Serializable {
if (level == null) {
level = causeLevel;
} else {
- if (causeLevel.ordinal() > level.ordinal()) {
+ if (causeLevel.intValue() > level.intValue()) {
level = causeLevel;
}
}