commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1453048 - in /commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload: DefaultFileItem.java MultipartStream.java
Date Tue, 05 Mar 2013 22:31:55 GMT
Author: simonetripodi
Date: Tue Mar  5 22:31:55 2013
New Revision: 1453048

URL: http://svn.apache.org/r1453048
Log:
trivial: muted serialization warning

Modified:
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DefaultFileItem.java
    commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/MultipartStream.java

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DefaultFileItem.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DefaultFileItem.java?rev=1453048&r1=1453047&r2=1453048&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DefaultFileItem.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/DefaultFileItem.java
Tue Mar  5 22:31:55 2013
@@ -50,6 +50,11 @@ public class DefaultFileItem
     // ----------------------------------------------------------- Constructors
 
     /**
+     * The UID to use when serializing this instance.
+     */
+    private static final long serialVersionUID = 4088572813833518255L;
+
+    /**
      * Constructs a new <code>DefaultFileItem</code> instance.
      *
      * @param fieldName     The name of the form field.

Modified: commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/MultipartStream.java
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/MultipartStream.java?rev=1453048&r1=1453047&r2=1453048&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/MultipartStream.java
(original)
+++ commons/proper/fileupload/trunk/src/main/java/org/apache/commons/fileupload/MultipartStream.java
Tue Mar  5 22:31:55 2013
@@ -737,6 +737,11 @@ public class MultipartStream {
     public static class MalformedStreamException
     extends IOException {
         /**
+         * The UID to use when serializing this instance.
+         */
+        private static final long serialVersionUID = 6466926458059796677L;
+
+        /**
          * Constructs a <code>MalformedStreamException</code> with no
          * detail message.
          */
@@ -762,6 +767,11 @@ public class MultipartStream {
     public static class IllegalBoundaryException
             extends IOException {
         /**
+         * The UID to use when serializing this instance.
+         */
+        private static final long serialVersionUID = -161533165102632918L;
+
+        /**
          * Constructs an <code>IllegalBoundaryException</code> with no
          * detail message.
          */



Mime
View raw message