struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jhol...@apache.org
Subject svn commit: r660522 - in /struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload: MultipleFileUploadUsingArrayAction.java MultipleFileUploadUsingListAction.java
Date Tue, 27 May 2008 14:08:03 GMT
Author: jholmes
Date: Tue May 27 07:08:00 2008
New Revision: 660522

URL: http://svn.apache.org/viewvc?rev=660522&view=rev
Log:
Add comments for Maven snippet plugin and remove spurious newlines per WW-2658. Thanks to
Matthieu Chase Heimer for the patch.

Modified:
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingArrayAction.java
    struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingListAction.java

Modified: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingArrayAction.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingArrayAction.java?rev=660522&r1=660521&r2=660522&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingArrayAction.java
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingArrayAction.java
Tue May 27 07:08:00 2008
@@ -18,6 +18,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+// START SNIPPET: entire-file
 package org.apache.struts2.showcase.fileupload;
 
 import java.io.File;
@@ -44,7 +45,6 @@
     public String[] getUploadContentType() { return this.uploadContentTypes; }
     public void setUploadContentType(String[] uploadContentType) { this.uploadContentTypes
= uploadContentType; }
 
-
     public String upload() throws Exception {
         System.out.println("\n\n upload2");
         System.out.println("files:");
@@ -62,5 +62,5 @@
         System.out.println("\n\n");
         return SUCCESS;
     }
-
 }
+// END SNIPPET: entire-file
\ No newline at end of file

Modified: struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingListAction.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingListAction.java?rev=660522&r1=660521&r2=660522&view=diff
==============================================================================
--- struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingListAction.java
(original)
+++ struts/struts2/trunk/apps/showcase/src/main/java/org/apache/struts2/showcase/fileupload/MultipleFileUploadUsingListAction.java
Tue May 27 07:08:00 2008
@@ -18,6 +18,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
+// START SNIPPET: entire-file
 package org.apache.struts2.showcase.fileupload;
 import java.io.File;
 import java.util.ArrayList;
@@ -57,9 +58,6 @@
         this.uploadContentTypes = contentTypes;
     }
 
-
-
-
     public String upload() throws Exception {
 
         System.out.println("\n\n upload1");
@@ -78,6 +76,5 @@
         System.out.println("\n\n");
         return SUCCESS;
     }
-
-
 }
+// END SNIPPET: entire-file
\ No newline at end of file



Mime
View raw message