瀏覽代碼

Vault doesn't need to be Serializable in order for ObjectMapper to work properly

Sebastian Stenzel 9 年之前
父節點
當前提交
67ba7cac40
共有 1 個文件被更改,包括 1 次插入4 次删除
  1. 1 4
      main/ui/src/main/java/org/cryptomator/ui/model/Vault.java

+ 1 - 4
main/ui/src/main/java/org/cryptomator/ui/model/Vault.java

@@ -9,7 +9,6 @@
 package org.cryptomator.ui.model;
 
 import java.io.IOException;
-import java.io.Serializable;
 import java.io.UncheckedIOException;
 import java.nio.file.FileAlreadyExistsException;
 import java.nio.file.Path;
@@ -51,9 +50,7 @@ import javafx.beans.property.SimpleBooleanProperty;
 import javafx.collections.FXCollections;
 import javafx.collections.ObservableList;
 
-public class Vault implements Serializable, CryptoFileSystemDelegate {
-
-	private static final long serialVersionUID = 3754487289683599469L;
+public class Vault implements CryptoFileSystemDelegate {
 
 	public static final String VAULT_FILE_EXTENSION = ".cryptomator";