myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r991882 - /myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java
Date Thu, 02 Sep 2010 10:27:29 GMT
Author: matzew
Date: Thu Sep  2 10:27:29 2010
New Revision: 991882

URL: http://svn.apache.org/viewvc?rev=991882&view=rev
Log:
TRINIDAD-1900 - WrappedUploadedFileImpl of CompositeUploadedFileProcessorImpl does not implement
Serializable interface

Modified:
    myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java

Modified: myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java?rev=991882&r1=991881&r2=991882&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java
(original)
+++ myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/config/upload/CompositeUploadedFileProcessorImpl.java
Thu Sep  2 10:27:29 2010
@@ -21,6 +21,7 @@ package org.apache.myfaces.trinidadinter
 
 import java.io.File;
 import java.io.IOException;
+import java.io.Serializable;
 
 import java.io.InputStream;
 import java.util.ArrayList;
@@ -129,7 +130,8 @@ public class CompositeUploadedFileProces
    * Wrapper around UploadedFileImpl to listen for dispose() call and dispatch to
    * other UploadedFileImpls returned by other chained processors
    */
-  private static class WrappedUploadedFileImpl implements UploadedFile{
+  private static class WrappedUploadedFileImpl implements UploadedFile, Serializable
+  {
 
     public WrappedUploadedFileImpl(UploadedFile original, List<UploadedFile> files)
     {
@@ -198,6 +200,7 @@ public class CompositeUploadedFileProces
 
     private final UploadedFile original;
     private final List<UploadedFile> files;
+    private static final long serialVersionUID = 1L;
   }
 
   private void _init(Object context)



Mime
View raw message