summaryrefslogtreecommitdiffstats
path: root/server/src/com/vaadin/ui/Upload.java
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/com/vaadin/ui/Upload.java')
-rw-r--r--server/src/com/vaadin/ui/Upload.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/server/src/com/vaadin/ui/Upload.java b/server/src/com/vaadin/ui/Upload.java
index 2da7db53b5..a61bcf1bd9 100644
--- a/server/src/com/vaadin/ui/Upload.java
+++ b/server/src/com/vaadin/ui/Upload.java
@@ -31,6 +31,7 @@ import com.vaadin.server.StreamVariable.StreamingProgressEvent;
import com.vaadin.shared.EventId;
import com.vaadin.shared.ui.upload.UploadClientRpc;
import com.vaadin.shared.ui.upload.UploadServerRpc;
+import com.vaadin.shared.ui.upload.UploadState;
import com.vaadin.util.ReflectTools;
/**
@@ -1192,4 +1193,9 @@ public class Upload extends AbstractComponent implements Component.Focusable,
}
return super.getListeners(eventType);
}
+
+ @Override
+ protected UploadState getState() {
+ return (UploadState) super.getState();
+ }
}