click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadr...@apache.org
Subject svn commit: r1542682 - /click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java
Date Sun, 17 Nov 2013 09:55:44 GMT
Author: aadrian
Date: Sun Nov 17 09:55:44 2013
New Revision: 1542682

URL: http://svn.apache.org/r1542682
Log:
MockFileItem commons-fileupload-1.3 required updates.

Modified:
    click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java

Modified: click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java
URL: http://svn.apache.org/viewvc/click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java?rev=1542682&r1=1542681&r2=1542682&view=diff
==============================================================================
--- click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java (original)
+++ click/trunk/click/mock/src/org/apache/click/fileupload/MockFileItem.java Sun Nov 17 09:55:44
2013
@@ -25,6 +25,7 @@ import java.io.OutputStream;
 import java.io.UnsupportedEncodingException;
 
 import org.apache.commons.fileupload.FileItem;
+import org.apache.commons.fileupload.FileItemHeaders;
 
 /**
  * Mock implementation of <tt>org.apache.commons.fileupload.FileItem</tt>.
@@ -89,4 +90,10 @@ public class MockFileItem implements Fil
     public void write(File arg0) throws Exception {
     }
 
+    public FileItemHeaders getHeaders() {
+        return null;
+    }
+
+    public void setHeaders(FileItemHeaders fileItemHeaders) {
+    }
 }



Mime
View raw message