]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
java libcephfs: add serialVersionUID to some Exception classes 153/head
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Mar 2013 11:38:03 +0000 (12:38 +0100)
committerDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 27 Mar 2013 11:38:03 +0000 (12:38 +0100)
Fix for: "The serializable class does not declare a static final
serialVersionUID field" warning.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
src/java/java/com/ceph/fs/CephAlreadyMountedException.java
src/java/java/com/ceph/fs/CephFileAlreadyExistsException.java
src/java/java/com/ceph/fs/CephNotDirectoryException.java
src/java/java/com/ceph/fs/CephNotMountedException.java
src/java/java/com/ceph/fs/CephPoolException.java

index 394eec8efacb9d840330e1cf60ccc0ade4d1d250..23b93e9a1f7617aa6e51b8ae61cfa9139b7b229f 100644 (file)
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class CephAlreadyMountedException extends IOException {
 
+  private static final long serialVersionUID = 1L;
+
   /**
    * Construct CephAlreadyMountedException.
    */
index f750a6ef7f5a3d0b10f9eccc1f8d071c6ee4e606..12cdcb2bf8ea03573d22f35aac086412aa1fca97 100644 (file)
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class CephFileAlreadyExistsException extends IOException {
 
+  private static final long serialVersionUID = 1L;
+
   /**
    * Construct CephFileAlreadyExistsException.
    */
index 5181cb9c7a4451e1b1b2f419bdb781f2777b3512..3fb77c77f4b2d2aec162e42aa8e8798c13b9d8bf 100644 (file)
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class CephNotDirectoryException extends IOException {
 
+  private static final long serialVersionUID = 1L;
+
   /**
    * Construct CephNotDirectoryException.
    */
index 3e43a75a7ef743a38557a3ff337ab8ed570dca06..5a479b5e4fe9503018e338bf96da40e727ff271a 100644 (file)
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class CephNotMountedException extends IOException {
 
+  private static final long serialVersionUID = 1L;
+
   /**
    * Construct CephNotMountedException.
    */
index 1bedd4499966010f6908e97ff5ee7826036cf04e..c5092e6c414c4f1ac51d5d61645d740d7dc8ee2b 100644 (file)
@@ -26,6 +26,8 @@ import java.io.IOException;
  */
 public class CephPoolException extends IOException {
 
+  private static final long serialVersionUID = 1L;
+
   /**
    * Construct CephPoolException.
    */