Organize imports

This commit is contained in:
Maschell 2019-04-19 10:56:43 +02:00
parent 9b38f9c8c6
commit 4aa6f532f0
4 changed files with 1 additions and 3 deletions

View File

@ -17,7 +17,6 @@
package de.mas.wiiu.jnus;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;

View File

@ -23,7 +23,6 @@ import java.util.Map;
import java.util.Optional;
import java.util.function.Supplier;
import de.mas.wiiu.jnus.entities.TMD;
import de.mas.wiiu.jnus.entities.Ticket;
import de.mas.wiiu.jnus.entities.content.Content;
import de.mas.wiiu.jnus.entities.fst.FST;

View File

@ -18,7 +18,6 @@ package de.mas.wiiu.jnus.entities.content;
import java.nio.ByteBuffer;
import java.text.ParseException;
import java.util.Arrays;
import java.util.Optional;
import lombok.EqualsAndHashCode;

View File

@ -72,6 +72,7 @@ public final class NUSDataProviderLocal implements NUSDataProvider {
@Override
public Optional<byte[]> getRawTMD() throws IOException {
File file = FileUtils.getFileIgnoringFilenameCases(getLocalPath(), Settings.TMD_FILENAME);
if (file == null || !file.exists()) {
String errormsg = "Couldn't open \"" + getLocalPath() + File.separator + Settings.TMD_FILENAME + "\", file does not exist";
log.warning(errormsg);