diff options
author | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-11 12:43:43 +0000 |
---|---|---|
committer | Matti Tahvonen <matti.tahvonen@itmill.com> | 2010-10-11 12:43:43 +0000 |
commit | 01fe9dbc7d502e91130bbdaf4d7ca138c597abd4 (patch) | |
tree | 666ceaab9a2e10cdf536a61de68ddbae6935cc3b /src | |
parent | 8b6f11af016dee703b2f5c396bb61cb417b999fb (diff) | |
download | vaadin-framework-01fe9dbc7d502e91130bbdaf4d7ca138c597abd4.tar.gz vaadin-framework-01fe9dbc7d502e91130bbdaf4d7ca138c597abd4.zip |
added serializable to interfaces
svn changeset:15488/svn branch:6.5
Diffstat (limited to 'src')
-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); |