[icedtea-web] RFC: remove unused imports in netx code

Dr Andrew John Hughes ahughes at redhat.com
Tue Jan 11 06:42:31 PST 2011


On 09:12 Tue 11 Jan     , Omair Majid wrote:
> Hi,
> 
> The attached patch removes unused imports in Netx code.
> 
> Ok to commit?
> 
> ChangeLog
> 2011-01-11  Omair Majid  <omajid at redhat.com>
>    * netx/javax/jnlp/UnavailableServiceException.java: Remove unused
>    imports.
>    * netx/net/sourceforge/jnlp/AppletDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/ApplicationDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/ComponentDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/DefaultLaunchHandler.java: Likewise.
>    * netx/net/sourceforge/jnlp/IconDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/InformationDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/InstallerDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/JARDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/JREDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/Launcher.java: Likewise.
>    * netx/net/sourceforge/jnlp/PackageDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/ParseException.java: Likewise.
>    * netx/net/sourceforge/jnlp/PluginBridge.java: Likewise.
>    * netx/net/sourceforge/jnlp/PropertyDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/ResourcesDesc.java: Likewise.
>    * netx/net/sourceforge/jnlp/Version.java: Likewise.
>    * netx/net/sourceforge/jnlp/cache/CacheEntry.java: Likewise.
>    * netx/net/sourceforge/jnlp/cache/CacheUtil.java: Likewise.
>    * netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/cache/DownloadIndicator.java: Likewise.
>    * netx/net/sourceforge/jnlp/cache/UpdatePolicy.java: Likewise.
>    * netx/net/sourceforge/jnlp/controlpanel
>    /AdvancedProxySettingsDialog.java: Likewise.
>    * netx/net/sourceforge/jnlp/controlpanel
>    /AdvancedProxySettingsPane.java: Likewise.
>    * netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/controlpanel
>    /TemporaryInternetFilesPanel.java: Likewise.
>    * netx/net/sourceforge/jnlp/event/ApplicationEvent.java: Likewise.
>    * netx/net/sourceforge/jnlp/event/DownloadEvent.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/AppletInstance.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/runtime/Boot13.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java: Likewise.
>    * netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/security/CertsInfoPane.java: Likewise.
>    * netx/net/sourceforge/jnlp/security/SecurityUtil.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XBasicService.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XDownloadService.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/services/XFileContents.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XFileOpenService.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XFileSaveService.java: Likewise.
>    * netx/net/sourceforge/jnlp/services/XPersistenceService.java:
>    Likewise.
>    * netx/net/sourceforge/jnlp/util/PropertiesFile.java: Likewise.
>    * netx/net/sourceforge/jnlp/util/Reflect.java: Likewise.
> 
> Cheers,
> Omair

Fine by me, if it still builds.

> diff -r dc02a605f905 netx/net/sourceforge/jnlp/AppletDesc.java
> --- a/netx/net/sourceforge/jnlp/AppletDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/AppletDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,7 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
>  import java.net.*;
>  import java.util.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/ApplicationDesc.java
> --- a/netx/net/sourceforge/jnlp/ApplicationDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/ApplicationDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,8 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
>  import java.util.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/ComponentDesc.java
> --- a/netx/net/sourceforge/jnlp/ComponentDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/ComponentDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,10 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -
>  /**
>   * The component-desc element.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/DefaultLaunchHandler.java
> --- a/netx/net/sourceforge/jnlp/DefaultLaunchHandler.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/DefaultLaunchHandler.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,11 +17,6 @@
>  package net.sourceforge.jnlp;
>  
>  import net.sourceforge.jnlp.runtime.*;
> -import net.sourceforge.jnlp.util.*;
> -
> -import java.awt.*;
> -import java.util.*;
> -import javax.swing.*;
>  
>  /**
>   * This default implementation shows prints the exception to
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/IconDesc.java
> --- a/netx/net/sourceforge/jnlp/IconDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/IconDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,9 +16,7 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
>  import java.net.*;
> -import java.util.*;
>  
>  /**
>   * The icon element.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/InformationDesc.java
> --- a/netx/net/sourceforge/jnlp/InformationDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/InformationDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,8 +17,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.awt.Dimension;
>  import java.net.*;
>  import java.util.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/InstallerDesc.java
> --- a/netx/net/sourceforge/jnlp/InstallerDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/InstallerDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,10 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -
>  /**
>   * The installer-desc element.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/JARDesc.java
> --- a/netx/net/sourceforge/jnlp/JARDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/JARDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,9 +16,7 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> +import java.net.URL;
>  
>  /**
>   * The JAR element.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/JREDesc.java
> --- a/netx/net/sourceforge/jnlp/JREDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/JREDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -18,7 +18,6 @@
>  
>  import static net.sourceforge.jnlp.runtime.Translator.R;
>  
> -import java.io.*;
>  import java.net.*;
>  import java.util.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/Launcher.java
> --- a/netx/net/sourceforge/jnlp/Launcher.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/Launcher.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -24,8 +24,6 @@
>  import java.io.FileInputStream;
>  import java.io.FileOutputStream;
>  import java.io.IOException;
> -import java.lang.management.ManagementFactory;
> -import java.lang.management.ThreadMXBean;
>  import java.lang.reflect.Method;
>  import java.net.InetAddress;
>  import java.net.URL;
> @@ -48,7 +46,6 @@
>  import net.sourceforge.jnlp.services.InstanceExistsException;
>  import net.sourceforge.jnlp.services.ServiceUtil;
>  import net.sourceforge.jnlp.util.FileUtils;
> -import net.sourceforge.jnlp.util.Reflect;
>  
>  import javax.swing.SwingUtilities;
>  import javax.swing.text.html.parser.ParserDelegator;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/PackageDesc.java
> --- a/netx/net/sourceforge/jnlp/PackageDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/PackageDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,10 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -
>  /**
>   * The package element.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/ParseException.java
> --- a/netx/net/sourceforge/jnlp/ParseException.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/ParseException.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,8 +17,6 @@
>  package net.sourceforge.jnlp;
>  
>  import java.io.*;
> -import java.net.*;
> -import java.util.*;
>  
>  /**
>   * Thrown to indicate that an error has occurred while parsing a
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/PluginBridge.java
> --- a/netx/net/sourceforge/jnlp/PluginBridge.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/PluginBridge.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -26,7 +26,6 @@
>  import java.net.MalformedURLException;
>  import java.util.Calendar;
>  import java.util.Hashtable;
> -import java.util.Iterator;
>  import java.util.Locale;
>  import java.util.List;
>  import java.util.ArrayList;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/PropertyDesc.java
> --- a/netx/net/sourceforge/jnlp/PropertyDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/PropertyDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,10 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -
>  /**
>   * The property element.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/ResourcesDesc.java
> --- a/netx/net/sourceforge/jnlp/ResourcesDesc.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/ResourcesDesc.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,9 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.awt.Dimension;
> -import java.net.*;
>  import java.util.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/Version.java
> --- a/netx/net/sourceforge/jnlp/Version.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/Version.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,8 +16,6 @@
>  
>  package net.sourceforge.jnlp;
>  
> -import java.io.*;
> -import java.net.*;
>  import java.util.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/cache/CacheEntry.java
> --- a/netx/net/sourceforge/jnlp/cache/CacheEntry.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/cache/CacheEntry.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -20,10 +20,6 @@
>  
>  import java.io.*;
>  import java.net.*;
> -import java.util.*;
> -import java.lang.reflect.*;
> -import java.security.*;
> -import javax.jnlp.*;
>  
>  import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.runtime.*;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/cache/CacheUtil.java
> --- a/netx/net/sourceforge/jnlp/cache/CacheUtil.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/cache/CacheUtil.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -22,7 +22,6 @@
>  import java.net.*;
>  import java.nio.channels.FileChannel;
>  import java.util.*;
> -import java.lang.reflect.*;
>  import java.security.*;
>  import javax.jnlp.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java
> --- a/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/cache/DefaultDownloadIndicator.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -27,7 +27,6 @@
>  import javax.swing.Timer;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.runtime.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/cache/DownloadIndicator.java
> --- a/netx/net/sourceforge/jnlp/cache/DownloadIndicator.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/cache/DownloadIndicator.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,16 +16,9 @@
>  
>  package net.sourceforge.jnlp.cache;
>  
> -import java.awt.*;
> -import java.awt.event.*;
>  import java.net.*;
> -import java.util.*;
> -import java.util.List;
> -import javax.swing.*;
> -import javax.swing.Timer;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.runtime.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/cache/UpdatePolicy.java
> --- a/netx/net/sourceforge/jnlp/cache/UpdatePolicy.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/cache/UpdatePolicy.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,17 +16,6 @@
>  
>  package net.sourceforge.jnlp.cache;
>  
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -import java.lang.reflect.*;
> -import java.security.*;
> -import javax.jnlp.*;
> -
> -import net.sourceforge.jnlp.*;
> -import net.sourceforge.jnlp.runtime.*;
> -import net.sourceforge.jnlp.util.*;
> -
>  /**
>   * A policy that determines when a resource should be checked for
>   * an updated version.<p>
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java
> --- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsDialog.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -28,8 +28,6 @@
>  import java.awt.event.WindowEvent;
>  
>  import javax.swing.JDialog;
> -import javax.swing.SwingUtilities;
> -import javax.swing.UIManager;
>  
>  import net.sourceforge.jnlp.config.DeploymentConfiguration;
>  import net.sourceforge.jnlp.runtime.Translator;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java
> --- a/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/controlpanel/AdvancedProxySettingsPane.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -27,8 +27,6 @@
>  import java.awt.event.ActionListener;
>  import java.awt.event.ItemEvent;
>  import java.awt.event.ItemListener;
> -import java.awt.event.KeyAdapter;
> -import java.awt.event.KeyEvent;
>  import java.util.ArrayList;
>  import java.util.List;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java
> --- a/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/controlpanel/NetworkSettingsPanel.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -29,15 +29,12 @@
>  import java.awt.event.ActionListener;
>  import java.awt.event.ItemEvent;
>  import java.awt.event.ItemListener;
> -import java.awt.event.KeyAdapter;
> -import java.awt.event.KeyEvent;
>  import java.util.ArrayList;
>  
>  import javax.swing.Box;
>  import javax.swing.ButtonGroup;
>  import javax.swing.JButton;
>  import javax.swing.JCheckBox;
> -import javax.swing.JComponent;
>  import javax.swing.JLabel;
>  import javax.swing.JPanel;
>  import javax.swing.JRadioButton;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java
> --- a/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/controlpanel/TemporaryInternetFilesPanel.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -38,7 +38,6 @@
>  import javax.swing.JSpinner;
>  import javax.swing.JTextField;
>  import javax.swing.SpinnerNumberModel;
> -import javax.swing.SwingUtilities;
>  import javax.swing.event.ChangeEvent;
>  import javax.swing.event.ChangeListener;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/event/ApplicationEvent.java
> --- a/netx/net/sourceforge/jnlp/event/ApplicationEvent.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/event/ApplicationEvent.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -18,7 +18,6 @@
>  
>  import java.util.*;
>  
> -import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.runtime.*;
>  
>  /**
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/event/DownloadEvent.java
> --- a/netx/net/sourceforge/jnlp/event/DownloadEvent.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/event/DownloadEvent.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -19,9 +19,7 @@
>  import java.net.*;
>  import java.util.*;
>  
> -import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.cache.*;
> -import net.sourceforge.jnlp.runtime.*;
>  
>  /**
>   * This event is sent during the launch of an
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java
> --- a/netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/AppThreadGroup.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,8 +16,6 @@
>  
>  package net.sourceforge.jnlp.runtime;
>  
> -import java.awt.*;
> -
>  /**
>   * Thread group for a JNLP application.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java
> --- a/netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/AppletAudioClip.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,7 +17,6 @@
>  package net.sourceforge.jnlp.runtime;
>  
>  import java.net.*;
> -import java.io.*;
>  import java.applet.*;
>  import javax.sound.sampled.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/AppletInstance.java
> --- a/netx/net/sourceforge/jnlp/runtime/AppletInstance.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/AppletInstance.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -18,13 +18,6 @@
>  
>  import java.applet.*;
>  import java.awt.*;
> -import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -import java.util.List;
> -import java.security.*;
> -import java.lang.reflect.*;
> -import java.lang.ref.*;
>  
>  import net.sourceforge.jnlp.*;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java
> --- a/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/ApplicationInstance.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -37,7 +37,6 @@
>  import net.sourceforge.jnlp.event.ApplicationListener;
>  import net.sourceforge.jnlp.security.SecurityWarning;
>  import net.sourceforge.jnlp.security.SecurityWarning.AccessType;
> -import net.sourceforge.jnlp.services.ServiceUtil;
>  import net.sourceforge.jnlp.util.WeakList;
>  import net.sourceforge.jnlp.util.XDesktopEntry;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/Boot13.java
> --- a/netx/net/sourceforge/jnlp/runtime/Boot13.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/Boot13.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,10 +17,8 @@
>  package net.sourceforge.jnlp.runtime;
>  
>  import java.lang.reflect.*;
> -import java.io.*;
>  import java.net.*;
>  import java.security.*;
> -import javax.swing.*;
>  
>  /**
>   * Allows a Policy and SecurityManager to be set in JRE1.3 without
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
> --- a/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -19,7 +19,6 @@
>  import java.io.*;
>  import java.net.Authenticator;
>  import java.net.ProxySelector;
> -import java.nio.channels.FileLock;
>  import java.awt.*;
>  import java.text.*;
>  import java.util.*;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java
> --- a/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -20,17 +20,12 @@
>  
>  import java.awt.Frame;
>  import java.awt.Window;
> -import java.awt.event.WindowAdapter;
> -import java.awt.event.WindowEvent;
>  import java.lang.ref.WeakReference;
>  import java.net.SocketPermission;
>  import java.security.AllPermission;
>  import java.security.AccessControlException;
> -import java.security.AccessController;
>  import java.security.Permission;
> -import java.security.PrivilegedAction;
>  import java.security.SecurityPermission;
> -import java.util.PropertyPermission;
>  
>  import javax.swing.JWindow;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/security/CertsInfoPane.java
> --- a/netx/net/sourceforge/jnlp/security/CertsInfoPane.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/security/CertsInfoPane.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -40,12 +40,9 @@
>  import static net.sourceforge.jnlp.runtime.Translator.R;
>  
>  import java.util.ArrayList;
> -import java.util.Date;
>  import java.security.cert.CertPath;
>  import java.security.cert.X509Certificate;
>  import java.security.MessageDigest;
> -import java.math.BigInteger;
> -import javax.security.auth.x500.X500Principal;
>  
>  import sun.misc.HexDumpEncoder;
>  import sun.security.x509.*;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/security/SecurityUtil.java
> --- a/netx/net/sourceforge/jnlp/security/SecurityUtil.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/security/SecurityUtil.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -42,7 +42,6 @@
>  import java.io.FileOutputStream;
>  import java.security.KeyStore;
>  
> -import net.sourceforge.jnlp.runtime.JNLPRuntime;
>  import net.sourceforge.jnlp.security.KeyStores.Level;
>  import net.sourceforge.jnlp.security.KeyStores.Type;
>  
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XBasicService.java
> --- a/netx/net/sourceforge/jnlp/services/XBasicService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XBasicService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -31,7 +31,6 @@
>  import net.sourceforge.jnlp.config.DeploymentConfiguration;
>  import net.sourceforge.jnlp.runtime.ApplicationInstance;
>  import net.sourceforge.jnlp.runtime.JNLPRuntime;
> -import net.sourceforge.jnlp.util.PropertiesFile;
>  
>  /**
>   * The BasicService JNLP service.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XDownloadService.java
> --- a/netx/net/sourceforge/jnlp/services/XDownloadService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XDownloadService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -18,12 +18,8 @@
>  
>  import java.io.*;
>  import java.net.*;
> -import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
> -
>  /**
>   * The DownloadService JNLP service.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java
> --- a/netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XExtensionInstallerService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,13 +16,9 @@
>  
>  package net.sourceforge.jnlp.services;
>  
> -import java.io.*;
>  import java.net.*;
> -import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
>  
>  /**
>   * The ExtensionInstallerService JNLP service.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XFileContents.java
> --- a/netx/net/sourceforge/jnlp/services/XFileContents.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XFileContents.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,14 +17,8 @@
>  package net.sourceforge.jnlp.services;
>  
>  import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
> -import net.sourceforge.jnlp.runtime.JNLPRuntime;
> -
>  /**
>   * File contents.
>   *
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XFileOpenService.java
> --- a/netx/net/sourceforge/jnlp/services/XFileOpenService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XFileOpenService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -38,18 +38,11 @@
>  package net.sourceforge.jnlp.services;
>  
>  import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
> -import net.sourceforge.jnlp.runtime.*;
>  import net.sourceforge.jnlp.security.SecurityWarning.AccessType;
>  
>  import javax.swing.JFileChooser;
> -import javax.swing.JOptionPane;
> -import java.security.*;
>  
>  /**
>   * The FileOpenService JNLP service.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XFileSaveService.java
> --- a/netx/net/sourceforge/jnlp/services/XFileSaveService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XFileSaveService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -38,9 +38,6 @@
>  package net.sourceforge.jnlp.services;
>  
>  import java.io.*;
> -import java.net.*;
> -import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
>  import net.sourceforge.jnlp.security.SecurityWarning.AccessType;
> @@ -48,7 +45,6 @@
>  
>  import javax.swing.JFileChooser;
>  import javax.swing.JOptionPane;
> -import java.security.*;
>  
>  /**
>   * The FileSaveService JNLP service.
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/services/XPersistenceService.java
> --- a/netx/net/sourceforge/jnlp/services/XPersistenceService.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/services/XPersistenceService.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -19,10 +19,8 @@
>  import java.io.*;
>  import java.net.*;
>  import java.util.*;
> -import java.lang.ref.*;
>  import javax.jnlp.*;
>  
> -import net.sourceforge.jnlp.*;
>  import net.sourceforge.jnlp.cache.*;
>  import net.sourceforge.jnlp.config.DeploymentConfiguration;
>  import net.sourceforge.jnlp.runtime.*;
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/util/PropertiesFile.java
> --- a/netx/net/sourceforge/jnlp/util/PropertiesFile.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/util/PropertiesFile.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -17,11 +17,8 @@
>  package net.sourceforge.jnlp.util;
>  
>  import java.io.*;
> -import java.net.*;
>  import java.util.*;
>  
> -import net.sourceforge.jnlp.*;
> -
>  /**
>   * A properties object backed by a specified file without throwing
>   * exceptions.  The properties are automatically loaded from the
> diff -r dc02a605f905 netx/net/sourceforge/jnlp/util/Reflect.java
> --- a/netx/net/sourceforge/jnlp/util/Reflect.java	Fri Jan 07 08:00:08 2011 -0500
> +++ b/netx/net/sourceforge/jnlp/util/Reflect.java	Tue Jan 11 08:02:21 2011 -0500
> @@ -16,7 +16,6 @@
>  
>  package net.sourceforge.jnlp.util;
>  
> -import java.util.*;
>  import java.lang.reflect.*;
>  
>  /**


-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and IcedTea
http://www.gnu.org/software/classpath
http://icedtea.classpath.org
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8



More information about the distro-pkg-dev mailing list