浏览代码

fix spotbugs

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 4 年之前
父节点
当前提交
86d1a2820f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/owncloud/android/datamodel/OCFile.java

+ 1 - 1
src/main/java/com/owncloud/android/datamodel/OCFile.java

@@ -125,7 +125,7 @@ public class OCFile implements Parcelable, Comparable<OCFile>, ServerFileInterfa
     @VisibleForTesting
     public OCFile(String path, String remoteId) {
         this(path);
-        setRemoteId(remoteId);
+        this.remoteId = remoteId;
     }
 
     /**