From 40f6b2af736758e6d19922b1a47cdb2f0499bf61 Mon Sep 17 00:00:00 2001 From: Maschell Date: Thu, 11 Apr 2019 13:28:44 +0200 Subject: [PATCH] Remove FSTUtil functions from the NUSTitle class, they were just wrappers to the FSTUtils class are now unused. --- src/de/mas/wiiu/jnus/NUSTitle.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/de/mas/wiiu/jnus/NUSTitle.java b/src/de/mas/wiiu/jnus/NUSTitle.java index 60d6083..b6a60a5 100644 --- a/src/de/mas/wiiu/jnus/NUSTitle.java +++ b/src/de/mas/wiiu/jnus/NUSTitle.java @@ -22,7 +22,6 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Map.Entry; -import java.util.Optional; import java.util.regex.Pattern; import java.util.stream.Collectors; import java.util.stream.Stream; @@ -34,7 +33,6 @@ import de.mas.wiiu.jnus.entities.content.ContentFSTInfo; import de.mas.wiiu.jnus.entities.fst.FST; import de.mas.wiiu.jnus.entities.fst.FSTEntry; import de.mas.wiiu.jnus.interfaces.NUSDataProvider; -import de.mas.wiiu.jnus.utils.FSTUtils; import lombok.Getter; import lombok.Setter; @@ -158,12 +156,4 @@ public class NUSTitle { public String toString() { return "NUSTitle [dataProvider=" + dataProvider + "]"; } - - public Optional getFSTEntryByFullPath(String entryFullPath) { - return FSTUtils.getFSTEntryByFullPath(FST.getRoot(), entryFullPath); - } - - public Optional getFileEntryDir(String path) { - return FSTUtils.getFileEntryDir(FST.getRoot(), path); - } }