* cleanup
This commit is contained in:
parent
bddb28cd6d
commit
3af7e217a0
|
@ -15,7 +15,6 @@ import java.awt.event.WindowEvent;
|
|||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.net.URI;
|
||||
import java.nio.ByteBuffer;
|
||||
import java.nio.channels.Channels;
|
||||
|
|
|
@ -9,8 +9,8 @@ import java.io.OutputStream;
|
|||
import net.sf.sevenzipjbinding.ExtractAskMode;
|
||||
import net.sf.sevenzipjbinding.ExtractOperationResult;
|
||||
import net.sf.sevenzipjbinding.IArchiveExtractCallback;
|
||||
import net.sf.sevenzipjbinding.ISequentialOutStream;
|
||||
import net.sf.sevenzipjbinding.IInArchive;
|
||||
import net.sf.sevenzipjbinding.ISequentialOutStream;
|
||||
import net.sf.sevenzipjbinding.PropID;
|
||||
import net.sf.sevenzipjbinding.SevenZipException;
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@ package net.filebot.format;
|
|||
import groovy.lang.Closure;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.Charset;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Paths;
|
||||
|
|
|
@ -54,6 +54,7 @@ public class MacAppUtilities {
|
|||
// WARNING: dispatch_sync seems to work on most Mac always causes a deadlock and freezes the application on others (in particular MBP with 2 graphics chips)
|
||||
dispatch_async(new Runnable() {
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
Pointer pool = createAutoreleasePool();
|
||||
Proxy peer = objc().sendProxy("NSOpenPanel", "openPanel");
|
||||
|
|
|
@ -108,6 +108,7 @@ public class DateMatcher {
|
|||
return new SimpleDate(Integer.parseInt(match.group(order[0])), Integer.parseInt(match.group(order[1])), Integer.parseInt(match.group(order[2])));
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleDate match(CharSequence seq) {
|
||||
Matcher matcher = pattern.matcher(seq);
|
||||
|
||||
|
@ -118,6 +119,7 @@ public class DateMatcher {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int find(CharSequence seq, int fromIndex) {
|
||||
Matcher matcher = pattern.matcher(seq).region(fromIndex, seq.length());
|
||||
|
||||
|
@ -146,6 +148,7 @@ public class DateMatcher {
|
|||
return SimpleDate.parse(space.matcher(match.group()).replaceAll(" "), dateFormat);
|
||||
}
|
||||
|
||||
@Override
|
||||
public SimpleDate match(CharSequence seq) {
|
||||
Matcher matcher = pattern.matcher(seq);
|
||||
|
||||
|
@ -156,6 +159,7 @@ public class DateMatcher {
|
|||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int find(CharSequence seq, int fromIndex) {
|
||||
Matcher matcher = pattern.matcher(seq).region(fromIndex, seq.length());
|
||||
|
||||
|
|
|
@ -6,7 +6,6 @@ import static net.filebot.util.ui.SwingUI.*;
|
|||
import java.awt.event.ActionEvent;
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
import net.filebot.Language;
|
||||
import net.filebot.Settings;
|
||||
|
|
|
@ -12,7 +12,6 @@ import java.awt.event.ActionEvent;
|
|||
import java.io.File;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import javax.swing.AbstractAction;
|
||||
|
|
|
@ -52,7 +52,6 @@ import net.filebot.Language;
|
|||
import net.filebot.ResourceManager;
|
||||
import net.filebot.WebServices;
|
||||
import net.filebot.media.MediaDetection;
|
||||
import net.filebot.similarity.SeasonEpisodeMatcher;
|
||||
import net.filebot.similarity.SeriesNameMatcher;
|
||||
import net.filebot.ui.LanguageComboBox;
|
||||
import net.filebot.ui.SelectDialog;
|
||||
|
|
|
@ -89,6 +89,7 @@ public class WeakValueHashMap<K, V> extends AbstractMap<K, V> {
|
|||
return entries;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Collection<V> values() {
|
||||
processQueue();
|
||||
|
||||
|
|
Loading…
Reference in New Issue