summaryrefslogtreecommitdiff
path: root/src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
diff options
context:
space:
mode:
authorKeuin <[email protected]>2023-01-13 02:49:57 +0800
committerKeuin <[email protected]>2023-01-13 02:49:57 +0800
commit5dc6e700cbcbc01833a02a193f660a286b934898 (patch)
tree72cf4cc3cfae2b3a7fb978bc0c465e329909db3e /src/main/java/com/keuin/kbackupfabric/backup/incremental/ObjectCollectionSerializer.java
parentff7d23b5b915f04c2b5f3614701cb56cfc605228 (diff)
Code cleanup.
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;
}
/**