From 35c6c33941a308a89f2460d256c013f20906f293 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 9 Oct 2016 19:10:21 +0800 Subject: [PATCH] Remove unused methods --- source/net/filebot/cli/ScriptShellMethods.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/net/filebot/cli/ScriptShellMethods.java b/source/net/filebot/cli/ScriptShellMethods.java index bc3d1d9d..4d20fc6c 100644 --- a/source/net/filebot/cli/ScriptShellMethods.java +++ b/source/net/filebot/cli/ScriptShellMethods.java @@ -31,7 +31,6 @@ import groovy.lang.Range; import net.filebot.MediaTypes; import net.filebot.MetaAttributeView; import net.filebot.media.MediaDetection; -import net.filebot.media.MetaAttributes; import net.filebot.similarity.NameSimilarityMetric; import net.filebot.similarity.Normalization; import net.filebot.similarity.SimilarityMetric; @@ -349,14 +348,6 @@ public class ScriptShellMethods { return file; } - public static String objectToJson(Object self) throws IOException { - return MetaAttributes.toJson(self); - } - - public static Object jsonToObject(String self) throws IOException { - return MetaAttributes.toObject(self); - } - public static File getStructurePathTail(File self) throws Exception { return MediaDetection.getStructurePathTail(self); }