diff options
-rw-r--r-- | src/com/vaadin/terminal/ReceiverOwner.java | 3 | ||||
-rw-r--r-- | src/com/vaadin/ui/Html5File.java | 10 |
2 files changed, 6 insertions, 7 deletions
diff --git a/src/com/vaadin/terminal/ReceiverOwner.java b/src/com/vaadin/terminal/ReceiverOwner.java index 28ec83b067..318ed72cdc 100644 --- a/src/com/vaadin/terminal/ReceiverOwner.java +++ b/src/com/vaadin/terminal/ReceiverOwner.java @@ -3,7 +3,6 @@ package com.vaadin.terminal; import java.io.Serializable; import com.vaadin.Application; -import com.vaadin.terminal.ReceiverOwner.ReceivingController; /** * Special kind of {@link VariableOwner} that can send and receive information @@ -109,7 +108,7 @@ public interface ReceiverOwner extends VariableOwner { } - public interface ReceivingController { + public interface ReceivingController extends Serializable { /** * Whether the {@link #onProgress(long, long)} method should be called * during the upload. diff --git a/src/com/vaadin/ui/Html5File.java b/src/com/vaadin/ui/Html5File.java index 988bf534b9..c5d9468511 100644 --- a/src/com/vaadin/ui/Html5File.java +++ b/src/com/vaadin/ui/Html5File.java @@ -90,8 +90,8 @@ public class Html5File implements Serializable { } /** - * Gets the {@link Html5FileUploadListener} that is used to track the progress of - * streaming the file contents to given {@link Receiver}. + * Gets the {@link Html5FileUploadListener} that is used to track the + * progress of streaming the file contents to given {@link Receiver}. * * @return */ @@ -100,8 +100,8 @@ public class Html5File implements Serializable { } /** - * Sets the {@link Html5FileUploadListener} that can be used to track the progress of - * streaming the file contents to given {@link Receiver}. + * Sets the {@link Html5FileUploadListener} that can be used to track the + * progress of streaming the file contents to given {@link Receiver}. * * @param listener * @see #setReceiver(Receiver) @@ -123,7 +123,7 @@ public class Html5File implements Serializable { this.interrupted = interrupted; } - public interface Html5FileUploadListener { + public interface Html5FileUploadListener extends Serializable { void onProgress(ReceivingProgressedEvent event); |