click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r888770 - /incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
Date Wed, 09 Dec 2009 11:20:48 GMT
Author: sabob
Date: Wed Dec  9 11:20:47 2009
New Revision: 888770

URL: http://svn.apache.org/viewvc?rev=888770&view=rev
Log:
override commons impl to do nothing

Modified:
    incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java

Modified: incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
URL: http://svn.apache.org/viewvc/incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java?rev=888770&r1=888769&r2=888770&view=diff
==============================================================================
--- incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
(original)
+++ incubator/click/trunk/click/extras/src/org/apache/click/extras/gae/MemoryFileUploadService.java
Wed Dec  9 11:20:47 2009
@@ -18,8 +18,10 @@
  */
 package org.apache.click.extras.gae;
 
+import javax.servlet.ServletContext;
 import javax.servlet.http.HttpServletRequest;
 import org.apache.click.service.CommonsFileUploadService;
+import org.apache.click.service.FileUploadService;
 import org.apache.commons.fileupload.FileItemFactory;
 
 /**
@@ -54,11 +56,21 @@
 public class MemoryFileUploadService extends CommonsFileUploadService {
 
     /**
+     * @see FileUploadService#onInit(ServletContext)
+     * @param servletContext the application servlet context
+     * @throws Exception if an error occurs initializing the FileUploadService
+     */
+    @Override
+    public void onInit(ServletContext servletContext) throws Exception {
+    }
+
+    /**
      * Create and return a new {@link MemoryFileItemFactory} instance.
      *
      * @param request the servlet request
      * @return a new MemoryFileItemFactory instance
      */
+    @Override
     public FileItemFactory createFileItemFactory(HttpServletRequest request) {
         return new MemoryFileItemFactory();
     }



Mime
View raw message