mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-25 17:36:55 +01:00
Organize imports
This commit is contained in:
parent
9b38f9c8c6
commit
4aa6f532f0
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user