directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r151503 - in incubator/directory/network/trunk/mina/src/java/org/apache/mina: io/WriteTimeoutException.java protocol/ProtocolViolationException.java protocol/vmpipe/AnonymousVmPipeAddress.java protocol/vmpipe/VmPipeAddress.java util/BlockingSet.java util/Queue.java util/Stack.java
Date Sat, 05 Feb 2005 15:32:35 GMT
Author: trustin
Date: Sat Feb  5 07:32:32 2005
New Revision: 151503

URL: http://svn.apache.org/viewcvs?view=rev&rev=151503
Log:
Fixed: All missing serialVersionUIDs.


Modified:
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/WriteTimeoutException.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolViolationException.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/AnonymousVmPipeAddress.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/VmPipeAddress.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/BlockingSet.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Queue.java
    incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Stack.java

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/WriteTimeoutException.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/WriteTimeoutException.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/WriteTimeoutException.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/io/WriteTimeoutException.java
Sat Feb  5 07:32:32 2005
@@ -31,7 +31,9 @@
  */
 public class WriteTimeoutException extends IOException
 {
-    /**
+    private static final long serialVersionUID = 3906931157944579121L;
+
+	/**
      * Creates a new exception.
      */
     public WriteTimeoutException()

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolViolationException.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolViolationException.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolViolationException.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/ProtocolViolationException.java
Sat Feb  5 07:32:32 2005
@@ -31,7 +31,9 @@
  */
 public class ProtocolViolationException extends Exception
 {
-    private ByteBuffer buffer;
+    private static final long serialVersionUID = 3545799879533408565L;
+
+	private ByteBuffer buffer;
 
     /**
      * Constructs a new instance.

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/AnonymousVmPipeAddress.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/AnonymousVmPipeAddress.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/AnonymousVmPipeAddress.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/AnonymousVmPipeAddress.java
Sat Feb  5 07:32:32 2005
@@ -13,7 +13,9 @@
  */
 class AnonymousVmPipeAddress extends SocketAddress implements Comparable
 {
-    static final AnonymousVmPipeAddress INSTANCE = new AnonymousVmPipeAddress();
+    private static final long serialVersionUID = 3258135768999475512L;
+
+	static final AnonymousVmPipeAddress INSTANCE = new AnonymousVmPipeAddress();
 
     /**
      * Creates a new instance with the specifid port number.

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/VmPipeAddress.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/VmPipeAddress.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/VmPipeAddress.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/protocol/vmpipe/VmPipeAddress.java
Sat Feb  5 07:32:32 2005
@@ -13,7 +13,9 @@
  */
 public class VmPipeAddress extends SocketAddress implements Comparable
 {
-    private final int port;
+    private static final long serialVersionUID = 3257844376976830515L;
+
+	private final int port;
 
     /**
      * Creates a new instance with the specifid port number.

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/BlockingSet.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/BlockingSet.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/BlockingSet.java
(original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/BlockingSet.java
Sat Feb  5 07:32:32 2005
@@ -29,7 +29,9 @@
  */
 public class BlockingSet extends HashSet
 {
-    private int waiters = 0;
+    private static final long serialVersionUID = 3258134669538309941L;
+
+	private int waiters = 0;
 
     public synchronized boolean add( Object o )
     {

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Queue.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Queue.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Queue.java (original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Queue.java Sat Feb
 5 07:32:32 2005
@@ -29,7 +29,9 @@
  */
 public class Queue implements Serializable
 {
-    private static final int DEFAULT_CAPACITY = 4;
+    private static final long serialVersionUID = 3835151744526464313L;
+
+	private static final int DEFAULT_CAPACITY = 4;
 
     private static final int DEFAULT_MASK = DEFAULT_CAPACITY - 1;
 

Modified: incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Stack.java
URL: http://svn.apache.org/viewcvs/incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Stack.java?view=diff&r1=151502&r2=151503
==============================================================================
--- incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Stack.java (original)
+++ incubator/directory/network/trunk/mina/src/java/org/apache/mina/util/Stack.java Sat Feb
 5 07:32:32 2005
@@ -29,7 +29,9 @@
  */
 public class Stack implements Serializable
 {
-    private static final int DEFAULT_CAPACITY = 4;
+    private static final long serialVersionUID = 3546919169401434168L;
+
+	private static final int DEFAULT_CAPACITY = 4;
 
     private Object[] items;
 



Mime
View raw message