You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/11/21 19:31:08 UTC

svn commit: r1544279 - /subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java

Author: rhuijben
Date: Thu Nov 21 18:31:07 2013
New Revision: 1544279

URL: http://svn.apache.org/r1544279
Log:
* subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java
  (BadRevisionKindException): Properly define the serialization version of
    this serializable class.

Modified:
    subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java

Modified: subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java?rev=1544279&r1=1544278&r2=1544279&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java (original)
+++ subversion/trunk/subversion/bindings/javahl/src/org/apache/subversion/javahl/types/ExternalItem.java Thu Nov 21 18:31:07 2013
@@ -130,6 +130,15 @@ public class ExternalItem implements jav
     /* Exception class for failed revision kind validation. */
     private static class BadRevisionKindException extends SubversionException
     {
+        // Update the serialVersionUID when there is a incompatible change
+        // made to this class.  See any of the following, depending upon
+        // the Java release.
+        // http://java.sun.com/j2se/1.3/docs/guide/serialization/spec/version.doc7.html
+        // http://java.sun.com/j2se/1.4/pdf/serial-spec.pdf
+        // http://java.sun.com/j2se/1.5.0/docs/guide/serialization/spec/version.html#6678
+        // http://java.sun.com/javase/6/docs/platform/serialization/spec/version.html#6678
+        private static final long serialVersionUID = 1L;
+
         public BadRevisionKindException(String param)
         {
             super("the '" + param + "' constructor argument" +