Browse Source

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

Sebastian Stenzel 9 years ago
parent
commit
67ba7cac40
1 changed files with 1 additions and 4 deletions
  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";