1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-05 00:45:06 -05:00

* cleanup: group static imports

This commit is contained in:
Reinhard Pointner 2009-05-17 17:22:44 +00:00
parent bd37f96b18
commit 0dc12ec505
59 changed files with 86 additions and 151 deletions

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot;
import static javax.swing.JFrame.EXIT_ON_CLOSE;
import static javax.swing.JFrame.*;
import java.security.CodeSource;
import java.security.Permission;

View File

@ -2,8 +2,8 @@
package net.sourceforge.filebot.format;
import static java.lang.annotation.ElementType.METHOD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import static java.lang.annotation.ElementType.*;
import static java.lang.annotation.RetentionPolicy.*;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

View File

@ -2,10 +2,8 @@
package net.sourceforge.filebot.format;
import static net.sourceforge.filebot.FileBotUtilities.MOVIE_FILES;
import static net.sourceforge.filebot.FileBotUtilities.SFV_FILES;
import static net.sourceforge.filebot.FileBotUtilities.SUBTITLE_FILES;
import static net.sourceforge.filebot.format.Define.undefined;
import static net.sourceforge.filebot.FileBotUtilities.*;
import static net.sourceforge.filebot.format.Define.*;
import java.io.File;
import java.io.FileInputStream;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.mediainfo;
import static java.util.Collections.singletonMap;
import static java.util.Collections.*;
import java.lang.reflect.Method;

View File

@ -2,7 +2,8 @@
package net.sourceforge.filebot.similarity;
import static net.sourceforge.filebot.FileBotUtilities.removeEmbeddedChecksum;
import static net.sourceforge.filebot.FileBotUtilities.*;
import uk.ac.shef.wit.simmetrics.similaritymetrics.AbstractStringMetric;
import uk.ac.shef.wit.simmetrics.similaritymetrics.MongeElkan;
import uk.ac.shef.wit.simmetrics.tokenisers.TokeniserQGram3Extended;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.similarity;
import static net.sourceforge.filebot.FileBotUtilities.removeEmbeddedChecksum;
import static net.sourceforge.filebot.FileBotUtilities.*;
import java.util.ArrayList;
import java.util.HashSet;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui;
import static javax.swing.ScrollPaneConstants.HORIZONTAL_SCROLLBAR_NEVER;
import static javax.swing.ScrollPaneConstants.VERTICAL_SCROLLBAR_AS_NEEDED;
import static javax.swing.ScrollPaneConstants.*;
import java.awt.Window;
import java.awt.event.ActionEvent;

View File

@ -2,9 +2,7 @@
package net.sourceforge.filebot.ui;
import static java.awt.Font.BOLD;
import static java.awt.Font.MONOSPACED;
import static java.awt.Font.PLAIN;
import static java.awt.Font.*;
import java.awt.Color;
import java.awt.Font;

View File

@ -2,9 +2,8 @@
package net.sourceforge.filebot.ui;
import static net.sourceforge.filebot.Settings.getApplicationName;
import static net.sourceforge.tuned.ui.notification.Direction.NORTH;
import static net.sourceforge.tuned.ui.notification.Direction.SOUTH;
import static net.sourceforge.filebot.Settings.*;
import static net.sourceforge.tuned.ui.notification.Direction.*;
import java.util.logging.Handler;
import java.util.logging.Level;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.analyze;
import static net.sourceforge.filebot.ui.transfer.BackgroundFileTransferablePolicy.LOADING_PROPERTY;
import static net.sourceforge.filebot.ui.transfer.BackgroundFileTransferablePolicy.*;
import java.awt.event.ActionEvent;
import java.beans.PropertyChangeEvent;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.episodelist;
import static net.sourceforge.filebot.ui.panel.episodelist.SeasonSpinnerModel.ALL_SEASONS;
import static net.sourceforge.filebot.ui.panel.episodelist.SeasonSpinnerModel.*;
import java.awt.event.ActionEvent;
import java.beans.PropertyChangeEvent;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.episodelist;
import static net.sourceforge.filebot.ui.panel.episodelist.SeasonSpinnerModel.ALL_SEASONS;
import static net.sourceforge.filebot.ui.panel.episodelist.SeasonSpinnerModel.*;
import java.awt.Color;
import java.text.ParseException;

View File

@ -2,9 +2,8 @@
package net.sourceforge.filebot.ui.panel.list;
import static net.sourceforge.filebot.FileBotUtilities.TORRENT_FILES;
import static net.sourceforge.tuned.FileUtilities.FOLDERS;
import static net.sourceforge.tuned.FileUtilities.containsOnly;
import static net.sourceforge.filebot.FileBotUtilities.*;
import static net.sourceforge.tuned.FileUtilities.*;
import java.io.File;
import java.io.IOException;

View File

@ -2,11 +2,8 @@
package net.sourceforge.filebot.ui.panel.list;
import static java.awt.Font.MONOSPACED;
import static java.awt.Font.PLAIN;
import static java.lang.Math.max;
import static java.lang.Math.min;
import static java.lang.Math.signum;
import static java.awt.Font.*;
import static java.lang.Math.*;
import java.awt.BorderLayout;
import java.awt.Font;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.rename;
import static net.sourceforge.filebot.FileBotUtilities.MOVIE_FILES;
import static net.sourceforge.filebot.FileBotUtilities.SUBTITLE_FILES;
import static net.sourceforge.filebot.FileBotUtilities.*;
import java.io.File;
import java.io.FileFilter;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.rename;
import static net.sourceforge.tuned.FileUtilities.FOLDERS;
import static net.sourceforge.tuned.FileUtilities.containsOnly;
import static net.sourceforge.tuned.FileUtilities.*;
import java.io.File;
import java.util.List;

View File

@ -2,11 +2,9 @@
package net.sourceforge.filebot.ui.panel.rename;
import static java.awt.datatransfer.DataFlavor.stringFlavor;
import static net.sourceforge.filebot.FileBotUtilities.LIST_FILES;
import static net.sourceforge.filebot.FileBotUtilities.TORRENT_FILES;
import static net.sourceforge.tuned.FileUtilities.FOLDERS;
import static net.sourceforge.tuned.FileUtilities.containsOnly;
import static java.awt.datatransfer.DataFlavor.*;
import static net.sourceforge.filebot.FileBotUtilities.*;
import static net.sourceforge.tuned.FileUtilities.*;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.rename;
import static java.util.Collections.swap;
import static java.util.Collections.*;
import java.awt.BorderLayout;
import java.awt.event.ActionEvent;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.rename;
import static net.sourceforge.filebot.FileBotUtilities.INVALID_CHARACTERS_PATTERN;
import static net.sourceforge.filebot.FileBotUtilities.validateFileName;
import static net.sourceforge.filebot.FileBotUtilities.*;
import java.awt.AlphaComposite;
import java.awt.Color;

View File

@ -2,18 +2,11 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static java.awt.Color.WHITE;
import static java.awt.Cursor.DEFAULT_CURSOR;
import static java.awt.Cursor.HAND_CURSOR;
import static java.awt.Cursor.getPredefinedCursor;
import static java.awt.Font.DIALOG;
import static java.awt.Font.PLAIN;
import static java.awt.RenderingHints.KEY_RENDERING;
import static java.awt.RenderingHints.KEY_TEXT_ANTIALIASING;
import static java.awt.RenderingHints.VALUE_RENDER_QUALITY;
import static java.awt.RenderingHints.VALUE_TEXT_ANTIALIAS_ON;
import static java.lang.Math.max;
import static java.lang.Math.round;
import static java.awt.Color.*;
import static java.awt.Cursor.*;
import static java.awt.Font.*;
import static java.awt.RenderingHints.*;
import static java.lang.Math.*;
import java.awt.Dimension;
import java.awt.Font;

View File

@ -2,9 +2,8 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static java.awt.Font.BOLD;
import static java.awt.Font.PLAIN;
import static net.sourceforge.tuned.ui.TunedUtilities.derive;
import static java.awt.Font.*;
import static net.sourceforge.tuned.ui.TunedUtilities.*;
import java.awt.Color;
import java.awt.Component;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static java.lang.Math.log10;
import static java.lang.Math.max;
import static java.lang.Math.*;
import java.beans.PropertyChangeListener;
import java.beans.PropertyChangeSupport;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static net.sourceforge.filebot.FileBotUtilities.EMBEDDED_CHECKSUM_PATTERN;
import static net.sourceforge.filebot.FileBotUtilities.*;
import java.awt.Color;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static net.sourceforge.tuned.FileUtilities.containsOnly;
import static net.sourceforge.tuned.FileUtilities.*;
import java.io.File;
import java.io.IOException;

View File

@ -2,9 +2,9 @@
package net.sourceforge.filebot.ui.panel.sfv;
import static java.lang.Math.min;
import static net.sourceforge.filebot.ui.panel.sfv.ChecksumTableModel.HASH_TYPE_PROPERTY;
import static net.sourceforge.filebot.ui.transfer.BackgroundFileTransferablePolicy.LOADING_PROPERTY;
import static java.lang.Math.*;
import static net.sourceforge.filebot.ui.panel.sfv.ChecksumTableModel.*;
import static net.sourceforge.filebot.ui.transfer.BackgroundFileTransferablePolicy.*;
import java.awt.event.ActionEvent;
import java.beans.PropertyChangeEvent;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.subtitle;
import static net.sourceforge.filebot.Settings.getApplicationName;
import static net.sourceforge.filebot.Settings.getApplicationVersion;
import static net.sourceforge.filebot.Settings.*;
import java.net.URI;
import java.util.ArrayList;

View File

@ -2,8 +2,8 @@
package net.sourceforge.filebot.ui.transfer;
import static net.sourceforge.filebot.FileBotUtilities.validateFileName;
import static net.sourceforge.filebot.Settings.getApplicationName;
import static net.sourceforge.filebot.FileBotUtilities.*;
import static net.sourceforge.filebot.Settings.*;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.Transferable;

View File

@ -2,13 +2,8 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.WebRequest.getHtmlDocument;
import static net.sourceforge.tuned.XPathUtilities.exists;
import static net.sourceforge.tuned.XPathUtilities.getAttribute;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNode;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.IOException;
import java.net.MalformedURLException;

View File

@ -2,12 +2,9 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.EpisodeListUtilities.filterBySeason;
import static net.sourceforge.filebot.web.EpisodeListUtilities.getLastSeason;
import static net.sourceforge.filebot.web.WebRequest.getHtmlDocument;
import static net.sourceforge.tuned.XPathUtilities.getAttribute;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.EpisodeListUtilities.*;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.IOException;
import java.net.URI;

View File

@ -2,13 +2,8 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.WebRequest.getHtmlDocument;
import static net.sourceforge.tuned.XPathUtilities.getAttribute;
import static net.sourceforge.tuned.XPathUtilities.getChild;
import static net.sourceforge.tuned.XPathUtilities.getChildren;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.IOException;
import java.net.MalformedURLException;

View File

@ -2,9 +2,8 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.WebRequest.getDocument;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.net.URI;
import java.net.URISyntaxException;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.SubtitleSourceClient.HOST;
import static net.sourceforge.filebot.web.SubtitleSourceClient.*;
import java.net.MalformedURLException;
import java.net.URL;

View File

@ -2,11 +2,8 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.WebRequest.getHtmlDocument;
import static net.sourceforge.tuned.XPathUtilities.getAttribute;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.IOException;
import java.net.URI;

View File

@ -2,13 +2,9 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.EpisodeListUtilities.filterBySeason;
import static net.sourceforge.filebot.web.EpisodeListUtilities.getLastSeason;
import static net.sourceforge.filebot.web.WebRequest.getDocument;
import static net.sourceforge.tuned.XPathUtilities.getAttribute;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.EpisodeListUtilities.*;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.IOException;
import java.net.URI;

View File

@ -2,12 +2,9 @@
package net.sourceforge.filebot.web;
import static net.sourceforge.filebot.web.EpisodeListUtilities.filterBySeason;
import static net.sourceforge.filebot.web.EpisodeListUtilities.getLastSeason;
import static net.sourceforge.filebot.web.WebRequest.getDocument;
import static net.sourceforge.tuned.XPathUtilities.getTextContent;
import static net.sourceforge.tuned.XPathUtilities.selectNodes;
import static net.sourceforge.tuned.XPathUtilities.selectString;
import static net.sourceforge.filebot.web.EpisodeListUtilities.*;
import static net.sourceforge.filebot.web.WebRequest.*;
import static net.sourceforge.tuned.XPathUtilities.*;
import java.io.FileNotFoundException;
import java.io.IOException;

View File

@ -5,8 +5,7 @@
package net.sourceforge.tuned.ui.notification;
import static net.sourceforge.tuned.ui.notification.Direction.SOUTH_EAST;
import static net.sourceforge.tuned.ui.notification.Direction.WEST;
import static net.sourceforge.tuned.ui.notification.Direction.*;
import java.awt.Dimension;
import java.awt.GraphicsConfiguration;

View File

@ -5,7 +5,7 @@
package net.sourceforge.tuned.ui.notification;
import static net.sourceforge.tuned.ui.notification.Direction.NORTH;
import static net.sourceforge.tuned.ui.notification.Direction.*;
import java.awt.Dimension;
import java.awt.Insets;

View File

@ -2,9 +2,7 @@
package net.sourceforge.filebot;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import org.junit.Test;
import org.kohsuke.args4j.CmdLineException;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.format;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import javax.script.Bindings;
import javax.script.Compilable;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.hash;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.io.File;
import java.util.Map.Entry;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.similarity;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import org.junit.Test;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.similarity;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedHashMap;

View File

@ -2,8 +2,8 @@
package net.sourceforge.filebot.similarity;
import static net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE.UNDEFINED;
import static org.junit.Assert.assertEquals;
import static net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE.*;
import static org.junit.Assert.*;
import net.sourceforge.filebot.similarity.SeasonEpisodeMatcher.SxE;
import org.junit.Test;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.similarity;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import org.junit.Test;

View File

@ -2,9 +2,7 @@
package net.sourceforge.filebot.similarity;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import net.sourceforge.filebot.similarity.SeriesNameMatcher.SeriesNameCollection;
import org.junit.Test;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.ui.panel.rename;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.net.URL;
import java.util.List;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.util.List;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileInputStream;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.net.URL;
import java.util.List;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import java.util.List;
import java.util.Locale;

View File

@ -2,8 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import java.net.URL;
import java.util.List;

View File

@ -2,7 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.util.List;

View File

@ -2,9 +2,7 @@
package net.sourceforge.filebot.web;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import java.util.EnumSet;
import java.util.List;

View File

@ -2,7 +2,7 @@
package net.sourceforge.tuned;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.io.ByteArrayInputStream;
import java.io.InputStream;

View File

@ -2,8 +2,7 @@
package net.sourceforge.tuned;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Iterator;

View File

@ -2,8 +2,7 @@
package net.sourceforge.tuned;
import static org.junit.Assert.assertArrayEquals;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.List;

View File

@ -2,9 +2,7 @@
package net.sourceforge.tuned;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import java.util.Arrays;
import java.util.Collection;

View File

@ -2,9 +2,7 @@
package net.sourceforge.tuned;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.*;
import java.util.ArrayList;
import java.util.Iterator;