summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java')
-rw-r--r--src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java b/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
index 42e7c0c..7a395d8 100644
--- a/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
+++ b/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
@@ -21,17 +21,6 @@ public class ObjectCollectionSerializer {
@Deprecated
public static ObjectCollection2 fromFile(File file) throws IOException {
throw new RuntimeException("This method has been depreciated.");
-// Objects.requireNonNull(file);
-// ObjectCollection2 collection;
-// try (FileInputStream fileInputStream = new FileInputStream(file)) {
-// try (ObjectInputStream objectInputStream = new ObjectInputStream(fileInputStream)) {
-// collection = (ObjectCollection2) objectInputStream.readObject();
-// } catch (ClassNotFoundException ignored) {
-// // this should not happen
-// return null;
-// }
-// }
-// return collection;
}
/**