1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

* Organize Imports

This commit is contained in:
Reinhard Pointner 2014-07-24 11:31:24 +00:00
parent aa642d1038
commit 2a4af5a995
24 changed files with 27 additions and 28 deletions

View File

@ -16,14 +16,14 @@ import java.util.TreeSet;
import java.util.regex.Matcher; import java.util.regex.Matcher;
import java.util.regex.Pattern; import java.util.regex.Pattern;
import net.sf.sevenzipjbinding.ArchiveFormat;
import net.sf.sevenzipjbinding.ISevenZipInArchive;
import net.sf.sevenzipjbinding.PropID;
import net.sf.sevenzipjbinding.SevenZipException;
import net.filebot.MediaTypes; import net.filebot.MediaTypes;
import net.filebot.util.FileUtilities.ExtensionFileFilter; import net.filebot.util.FileUtilities.ExtensionFileFilter;
import net.filebot.vfs.FileInfo; import net.filebot.vfs.FileInfo;
import net.filebot.vfs.SimpleFileInfo; import net.filebot.vfs.SimpleFileInfo;
import net.sf.sevenzipjbinding.ArchiveFormat;
import net.sf.sevenzipjbinding.ISevenZipInArchive;
import net.sf.sevenzipjbinding.PropID;
import net.sf.sevenzipjbinding.SevenZipException;
public class Archive implements Closeable { public class Archive implements Closeable {

View File

@ -378,7 +378,7 @@ public class ReleaseInfo {
int year = parseInt(row[2]); int year = parseInt(row[2]);
String name = row[3]; String name = row[3];
String[] aliasNames = copyOfRange(row, 4, row.length); String[] aliasNames = copyOfRange(row, 4, row.length);
movies.add(new Movie(name, aliasNames, year, imdbid > 0 ? imdbid : -1, tmdbid > 0 ? tmdbid : -1)); movies.add(new Movie(name, aliasNames, year, imdbid > 0 ? imdbid : -1, tmdbid > 0 ? tmdbid : -1, null));
} }
return movies.toArray(new Movie[0]); return movies.toArray(new Movie[0]);

View File

@ -31,13 +31,13 @@ import javax.swing.SwingWorker;
import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeEvent;
import javax.swing.event.ChangeListener; import javax.swing.event.ChangeListener;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.Settings; import net.filebot.Settings;
import net.filebot.util.ExceptionUtilities; import net.filebot.util.ExceptionUtilities;
import net.filebot.util.ui.LabelProvider; import net.filebot.util.ui.LabelProvider;
import net.filebot.util.ui.SelectButton; import net.filebot.util.ui.SelectButton;
import net.filebot.web.SearchResult; import net.filebot.web.SearchResult;
import net.miginfocom.swing.MigLayout;
import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.BasicEventList;
import ca.odell.glazedlists.matchers.TextMatcherEditor; import ca.odell.glazedlists.matchers.TextMatcherEditor;
import ca.odell.glazedlists.swing.AutoCompleteSupport; import ca.odell.glazedlists.swing.AutoCompleteSupport;

View File

@ -11,10 +11,10 @@ import javax.swing.JComponent;
import javax.swing.JLabel; import javax.swing.JLabel;
import javax.swing.SwingConstants; import javax.swing.SwingConstants;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.util.ui.ProgressIndicator; import net.filebot.util.ui.ProgressIndicator;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.miginfocom.swing.MigLayout;
public class FileBotTabComponent extends JComponent { public class FileBotTabComponent extends JComponent {

View File

@ -14,8 +14,8 @@ import javax.swing.JLabel;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.SwingConstants; import javax.swing.SwingConstants;
import net.miginfocom.swing.MigLayout;
import net.filebot.util.ui.LinkButton; import net.filebot.util.ui.LinkButton;
import net.miginfocom.swing.MigLayout;
public class HistoryPanel extends JPanel { public class HistoryPanel extends JPanel {

View File

@ -5,7 +5,6 @@ import static net.filebot.Language.*;
import java.util.AbstractList; import java.util.AbstractList;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import java.util.Set;
import javax.swing.AbstractListModel; import javax.swing.AbstractListModel;
import javax.swing.ComboBoxModel; import javax.swing.ComboBoxModel;

View File

@ -39,8 +39,6 @@ import javax.swing.border.EmptyBorder;
import javax.swing.event.ListSelectionEvent; import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener; import javax.swing.event.ListSelectionListener;
import net.miginfocom.swing.MigLayout;
import net.sf.ehcache.CacheManager;
import net.filebot.Analytics; import net.filebot.Analytics;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.Settings; import net.filebot.Settings;
@ -55,6 +53,8 @@ import net.filebot.util.PreferencesMap.PreferencesEntry;
import net.filebot.util.ui.DefaultFancyListCellRenderer; import net.filebot.util.ui.DefaultFancyListCellRenderer;
import net.filebot.util.ui.ShadowBorder; import net.filebot.util.ui.ShadowBorder;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.miginfocom.swing.MigLayout;
import net.sf.ehcache.CacheManager;
public class MainFrame extends JFrame { public class MainFrame extends JFrame {

View File

@ -27,10 +27,10 @@ import javax.swing.plaf.basic.BasicComboPopup;
import javax.swing.plaf.basic.ComboPopup; import javax.swing.plaf.basic.ComboPopup;
import javax.swing.text.JTextComponent; import javax.swing.text.JTextComponent;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.util.ui.SelectButton; import net.filebot.util.ui.SelectButton;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.miginfocom.swing.MigLayout;
public class SelectButtonTextField<T> extends JComponent { public class SelectButtonTextField<T> extends JComponent {

View File

@ -24,10 +24,10 @@ import javax.swing.KeyStroke;
import javax.swing.ListSelectionModel; import javax.swing.ListSelectionModel;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.util.ui.DefaultFancyListCellRenderer; import net.filebot.util.ui.DefaultFancyListCellRenderer;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.miginfocom.swing.MigLayout;
public class SelectDialog<T> extends JDialog { public class SelectDialog<T> extends JDialog {

View File

@ -10,11 +10,11 @@ import java.util.List;
import javax.swing.JComponent; import javax.swing.JComponent;
import javax.swing.JFrame; import javax.swing.JFrame;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.ui.transfer.TransferablePolicy; import net.filebot.ui.transfer.TransferablePolicy;
import net.filebot.ui.transfer.TransferablePolicy.TransferAction; import net.filebot.ui.transfer.TransferablePolicy.TransferAction;
import net.filebot.util.ExceptionUtilities; import net.filebot.util.ExceptionUtilities;
import net.miginfocom.swing.MigLayout;
public class SinglePanelFrame extends JFrame { public class SinglePanelFrame extends JFrame {

View File

@ -63,7 +63,6 @@ import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.TableModel; import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter; import javax.swing.table.TableRowSorter;
import net.miginfocom.swing.MigLayout;
import net.filebot.History; import net.filebot.History;
import net.filebot.History.Element; import net.filebot.History.Element;
import net.filebot.History.Sequence; import net.filebot.History.Sequence;
@ -81,6 +80,7 @@ import net.filebot.util.ui.GradientStyle;
import net.filebot.util.ui.LazyDocumentListener; import net.filebot.util.ui.LazyDocumentListener;
import net.filebot.util.ui.notification.SeparatorBorder; import net.filebot.util.ui.notification.SeparatorBorder;
import net.filebot.util.ui.notification.SeparatorBorder.Position; import net.filebot.util.ui.notification.SeparatorBorder.Position;
import net.miginfocom.swing.MigLayout;
class HistoryDialog extends JDialog { class HistoryDialog extends JDialog {

View File

@ -14,11 +14,11 @@ import javax.swing.JButton;
import javax.swing.JPanel; import javax.swing.JPanel;
import javax.swing.ListSelectionModel; import javax.swing.ListSelectionModel;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.ui.FileBotList; import net.filebot.ui.FileBotList;
import net.filebot.ui.transfer.LoadAction; import net.filebot.ui.transfer.LoadAction;
import net.filebot.ui.transfer.TransferablePolicy; import net.filebot.ui.transfer.TransferablePolicy;
import net.miginfocom.swing.MigLayout;
import ca.odell.glazedlists.EventList; import ca.odell.glazedlists.EventList;

View File

@ -34,8 +34,8 @@ import javax.swing.JScrollPane;
import javax.swing.KeyStroke; import javax.swing.KeyStroke;
import javax.swing.text.BadLocationException; import javax.swing.text.BadLocationException;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.miginfocom.swing.MigLayout;
class ValidateDialog extends JDialog { class ValidateDialog extends JDialog {

View File

@ -29,7 +29,6 @@ import javax.swing.KeyStroke;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import javax.swing.border.TitledBorder; import javax.swing.border.TitledBorder;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.hash.HashType; import net.filebot.hash.HashType;
import net.filebot.ui.SelectDialog; import net.filebot.ui.SelectDialog;
@ -38,6 +37,7 @@ import net.filebot.ui.transfer.LoadAction;
import net.filebot.ui.transfer.SaveAction; import net.filebot.ui.transfer.SaveAction;
import net.filebot.util.FileUtilities; import net.filebot.util.FileUtilities;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.miginfocom.swing.MigLayout;
public class SfvPanel extends JComponent { public class SfvPanel extends JComponent {

View File

@ -56,7 +56,6 @@ import javax.swing.border.CompoundBorder;
import javax.swing.table.AbstractTableModel; import javax.swing.table.AbstractTableModel;
import javax.swing.table.DefaultTableCellRenderer; import javax.swing.table.DefaultTableCellRenderer;
import net.miginfocom.swing.MigLayout;
import net.filebot.Analytics; import net.filebot.Analytics;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.similarity.EpisodeMetrics; import net.filebot.similarity.EpisodeMetrics;
@ -72,6 +71,7 @@ import net.filebot.vfs.MemoryFile;
import net.filebot.web.SubtitleDescriptor; import net.filebot.web.SubtitleDescriptor;
import net.filebot.web.SubtitleProvider; import net.filebot.web.SubtitleProvider;
import net.filebot.web.VideoHashSubtitleService; import net.filebot.web.VideoHashSubtitleService;
import net.miginfocom.swing.MigLayout;
class SubtitleAutoMatchDialog extends JDialog { class SubtitleAutoMatchDialog extends JDialog {

View File

@ -39,7 +39,6 @@ import javax.swing.ListModel;
import javax.swing.SwingUtilities; import javax.swing.SwingUtilities;
import javax.swing.border.LineBorder; import javax.swing.border.LineBorder;
import net.miginfocom.swing.MigLayout;
import net.filebot.Analytics; import net.filebot.Analytics;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.subtitle.SubtitleFormat; import net.filebot.subtitle.SubtitleFormat;
@ -49,6 +48,7 @@ import net.filebot.util.ExceptionUtilities;
import net.filebot.util.ui.ListView; import net.filebot.util.ui.ListView;
import net.filebot.util.ui.TunedUtilities; import net.filebot.util.ui.TunedUtilities;
import net.filebot.vfs.MemoryFile; import net.filebot.vfs.MemoryFile;
import net.miginfocom.swing.MigLayout;
import ca.odell.glazedlists.BasicEventList; import ca.odell.glazedlists.BasicEventList;
import ca.odell.glazedlists.EventList; import ca.odell.glazedlists.EventList;
import ca.odell.glazedlists.FilterList; import ca.odell.glazedlists.FilterList;

View File

@ -17,8 +17,8 @@ import javax.swing.JPanel;
import javax.swing.JSpinner; import javax.swing.JSpinner;
import javax.swing.SpinnerNumberModel; import javax.swing.SpinnerNumberModel;
import net.miginfocom.swing.MigLayout;
import net.filebot.subtitle.SubtitleFormat; import net.filebot.subtitle.SubtitleFormat;
import net.miginfocom.swing.MigLayout;
public class SubtitleFileChooser extends JFileChooser { public class SubtitleFileChooser extends JFileChooser {

View File

@ -10,10 +10,10 @@ import javax.swing.JLabel;
import javax.swing.JList; import javax.swing.JList;
import javax.swing.border.CompoundBorder; import javax.swing.border.CompoundBorder;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.util.ui.AbstractFancyListCellRenderer; import net.filebot.util.ui.AbstractFancyListCellRenderer;
import net.filebot.util.ui.DashedSeparator; import net.filebot.util.ui.DashedSeparator;
import net.miginfocom.swing.MigLayout;
class SubtitlePackageCellRenderer extends AbstractFancyListCellRenderer { class SubtitlePackageCellRenderer extends AbstractFancyListCellRenderer {

View File

@ -32,7 +32,6 @@ import javax.swing.JRootPane;
import javax.swing.JTextField; import javax.swing.JTextField;
import javax.swing.border.TitledBorder; import javax.swing.border.TitledBorder;
import net.miginfocom.swing.MigLayout;
import net.filebot.Language; import net.filebot.Language;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.Settings; import net.filebot.Settings;
@ -47,6 +46,7 @@ import net.filebot.web.SearchResult;
import net.filebot.web.SubtitleDescriptor; import net.filebot.web.SubtitleDescriptor;
import net.filebot.web.SubtitleProvider; import net.filebot.web.SubtitleProvider;
import net.filebot.web.VideoHashSubtitleService; import net.filebot.web.VideoHashSubtitleService;
import net.miginfocom.swing.MigLayout;
public class SubtitlePanel extends AbstractSearchPanel<SubtitleProvider, SubtitlePackage> { public class SubtitlePanel extends AbstractSearchPanel<SubtitleProvider, SubtitlePackage> {

View File

@ -44,13 +44,13 @@ import javax.swing.table.DefaultTableColumnModel;
import javax.swing.table.TableModel; import javax.swing.table.TableModel;
import javax.swing.table.TableRowSorter; import javax.swing.table.TableRowSorter;
import net.miginfocom.swing.MigLayout;
import net.filebot.ResourceManager; import net.filebot.ResourceManager;
import net.filebot.subtitle.SubtitleElement; import net.filebot.subtitle.SubtitleElement;
import net.filebot.util.ui.GradientStyle; import net.filebot.util.ui.GradientStyle;
import net.filebot.util.ui.LazyDocumentListener; import net.filebot.util.ui.LazyDocumentListener;
import net.filebot.util.ui.notification.SeparatorBorder; import net.filebot.util.ui.notification.SeparatorBorder;
import net.filebot.util.ui.notification.SeparatorBorder.Position; import net.filebot.util.ui.notification.SeparatorBorder.Position;
import net.miginfocom.swing.MigLayout;
public class SubtitleViewer extends JFrame { public class SubtitleViewer extends JFrame {

View File

@ -16,9 +16,9 @@ import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Map; import java.util.Map;
import net.filebot.web.FanartTVClient.FanartDescriptor.FanartProperty;
import net.sf.ehcache.Cache; import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager; import net.sf.ehcache.CacheManager;
import net.filebot.web.FanartTVClient.FanartDescriptor.FanartProperty;
import org.w3c.dom.Document; import org.w3c.dom.Document;
import org.w3c.dom.Node; import org.w3c.dom.Node;

View File

@ -7,8 +7,8 @@ import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import net.filebot.web.SimpleDate;
import net.filebot.web.Episode; import net.filebot.web.Episode;
import net.filebot.web.SimpleDate;
import net.filebot.web.TheTVDBSearchResult; import net.filebot.web.TheTVDBSearchResult;
import org.junit.Test; import org.junit.Test;

View File

@ -10,10 +10,10 @@ import java.util.List;
import java.util.Locale; import java.util.Locale;
import java.util.Map; import java.util.Map;
import net.sf.ehcache.CacheManager;
import net.filebot.web.TheTVDBClient.BannerDescriptor; import net.filebot.web.TheTVDBClient.BannerDescriptor;
import net.filebot.web.TheTVDBClient.MirrorType; import net.filebot.web.TheTVDBClient.MirrorType;
import net.filebot.web.TheTVDBClient.SeriesInfo; import net.filebot.web.TheTVDBClient.SeriesInfo;
import net.sf.ehcache.CacheManager;
import org.junit.AfterClass; import org.junit.AfterClass;
import org.junit.BeforeClass; import org.junit.BeforeClass;

View File

@ -1679,7 +1679,7 @@ NnH
No.TK.BKF No.TK.BKF
NO1KNOWS NO1KNOWS
NODLABS NODLABS
NoGrp NOGRP
NOHD NOHD
NOiR NOiR
NoneStop NoneStop