浏览代码

codacy: Classes implementing Serializable should set a serialVersionUID

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Andy Scherzinger 5 年之前
父节点
当前提交
cf02e861b8
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/main/java/com/owncloud/android/operations/UploadException.java

+ 2 - 0
src/main/java/com/owncloud/android/operations/UploadException.java

@@ -21,6 +21,8 @@
 package com.owncloud.android.operations;
 
 class UploadException extends Exception {
+    private static final long serialVersionUID = 5931153844211429915L;
+
     UploadException() {
         super();
     }