]> source.dussan.org Git - vaadin-framework.git/commitdiff
added serializable to interfaces
authorMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 11 Oct 2010 12:43:43 +0000 (12:43 +0000)
committerMatti Tahvonen <matti.tahvonen@itmill.com>
Mon, 11 Oct 2010 12:43:43 +0000 (12:43 +0000)
svn changeset:15488/svn branch:6.5

src/com/vaadin/terminal/ReceiverOwner.java
src/com/vaadin/ui/Html5File.java

index 28ec83b0674b38ee9a657291bfff7004e1b1c438..318ed72cdc3feded77f3bce2500aaeb0666d4b38 100644 (file)
@@ -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.
index 988bf534b972066252b855fb1ea27f8c8a82117d..c5d9468511ad097290abf4db1ca44e1888262f49 100644 (file)
@@ -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);