OODT-886 fix unused imports

Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/08fad265
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/08fad265
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/08fad265

Branch: refs/heads/master
Commit: 08fad265f5394208df03a39cff8e889b5a774390
Parents: c8699ab
Author: Tom Barber <[email protected]>
Authored: Fri Oct 9 16:16:27 2015 +0100
Committer: Tom Barber <[email protected]>
Committed: Fri Oct 9 16:16:27 2015 +0100

----------------------------------------------------------------------
 .../cas/protocol/config/ProtocolConfig.java     |  9 ++++----
 .../apache/oodt/cas/pushpull/daemon/Daemon.java |  5 ----
 .../filerestrictions/FileRestrictions.java      |  3 +--
 .../pushpull/retrievalmethod/RemoteCrawler.java |  8 +++----
 .../oodt/cas/resource/batchmgr/Batchmgr.java    |  3 +--
 .../resource/batchmgr/XmlRpcBatchMgrProxy.java  | 20 ++++++++--------
 .../cli/action/GetExecReportCliAction.java      |  2 +-
 .../cli/action/GetNodeReportCliAction.java      |  2 +-
 .../system/XmlRpcResourceManagerClient.java     | 24 ++++++++------------
 .../browser/pagination/ProductPaginator.java    | 14 +++++++-----
 .../browser/product/ProductRefsBrowser.java     | 20 ++++++++--------
 .../cli/action/GetWorkflowByIdCliAction.java    |  3 +--
 12 files changed, 52 insertions(+), 61 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/protocol/api/src/main/java/org/apache/oodt/cas/protocol/config/ProtocolConfig.java
----------------------------------------------------------------------
diff --git 
a/protocol/api/src/main/java/org/apache/oodt/cas/protocol/config/ProtocolConfig.java
 
b/protocol/api/src/main/java/org/apache/oodt/cas/protocol/config/ProtocolConfig.java
index 2e2951c..33eb471 100644
--- 
a/protocol/api/src/main/java/org/apache/oodt/cas/protocol/config/ProtocolConfig.java
+++ 
b/protocol/api/src/main/java/org/apache/oodt/cas/protocol/config/ProtocolConfig.java
@@ -16,16 +16,17 @@
  */
 package org.apache.oodt.cas.protocol.config;
 
+
+//OODT imports
+import org.apache.oodt.cas.protocol.ProtocolFactory;
+
 //JDK imports
 import java.net.URI;
 import java.util.List;
 
-//OODT imports
-import org.apache.oodt.cas.protocol.ProtocolFactory;
-import org.apache.oodt.cas.protocol.system.ProtocolManager;
 
 /**
- * Protocol configuration for configuring {@link ProtocolManager}.
+ * Protocol configuration for configuring {@link 
org.apache.oodt.cas.protocol.system.ProtocolManager}.
  *
  * @author bfoster
  */

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/pushpull/src/main/java/org/apache/oodt/cas/pushpull/daemon/Daemon.java
----------------------------------------------------------------------
diff --git 
a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/daemon/Daemon.java 
b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/daemon/Daemon.java
index 10f8f34..5ff5e0e 100644
--- a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/daemon/Daemon.java
+++ b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/daemon/Daemon.java
@@ -22,8 +22,6 @@ package org.apache.oodt.cas.pushpull.daemon;
 import org.apache.oodt.cas.pushpull.config.Config;
 import org.apache.oodt.cas.pushpull.config.DaemonInfo;
 import org.apache.oodt.cas.pushpull.config.SiteInfo;
-import org.apache.oodt.cas.pushpull.daemon.DaemonMBean;
-import org.apache.oodt.cas.pushpull.daemon.DaemonRmiInterface;
 import org.apache.oodt.cas.pushpull.protocol.RemoteSite;
 import org.apache.oodt.cas.pushpull.retrievalsystem.RetrievalSetup;
 
@@ -182,9 +180,6 @@ public class Daemon extends UnicastRemoteObject implements 
DaemonRmiInterface,
      * crawl the URLs specified in the properties file in the sequence
      * given--one at a time.
      * 
-     * @param property
-     *            The system property whose value is the path to a java
-     *            .properties file that is be used to create the Crawler
      * @throws DirStructException
      */
     public void startDaemon() {

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/FileRestrictions.java
----------------------------------------------------------------------
diff --git 
a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/FileRestrictions.java
 
b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/FileRestrictions.java
index df84929..ac41efe 100644
--- 
a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/FileRestrictions.java
+++ 
b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/filerestrictions/FileRestrictions.java
@@ -22,14 +22,13 @@ package org.apache.oodt.cas.pushpull.filerestrictions;
 import org.apache.oodt.cas.pushpull.protocol.ProtocolPath;
 
 //JDK imports
-import java.io.InputStream;
 import java.util.LinkedList;
 
 
 /**
  * This class allows the creation of restrictions for files and directories 
created below an actual directory which is passed
  * into the constructor.  These restriction are loaded by passing a 
FileInputStream which contains a XML File
- * into the {@link #loadRestrictions(InputStream)} method and can be tested 
against by using the {@link #isAllowed(VirtualFile)} method.
+ * into the {@link #loadRestrictions(java.io.InputStream)} method and can be 
tested against by using the {@link #isAllowed(VirtualFile)} method.
  * 
  * <pre>
  * The XML file schema is:

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/pushpull/src/main/java/org/apache/oodt/cas/pushpull/retrievalmethod/RemoteCrawler.java
----------------------------------------------------------------------
diff --git 
a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/retrievalmethod/RemoteCrawler.java
 
b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/retrievalmethod/RemoteCrawler.java
index d5ca530..f4c2ca8 100644
--- 
a/pushpull/src/main/java/org/apache/oodt/cas/pushpull/retrievalmethod/RemoteCrawler.java
+++ 
b/pushpull/src/main/java/org/apache/oodt/cas/pushpull/retrievalmethod/RemoteCrawler.java
@@ -24,7 +24,6 @@ import org.apache.oodt.cas.metadata.Metadata;
 import org.apache.oodt.cas.pushpull.config.DataFilesInfo;
 import org.apache.oodt.cas.pushpull.config.DownloadInfo;
 import org.apache.oodt.cas.pushpull.exceptions.AlreadyInDatabaseException;
-import org.apache.oodt.cas.pushpull.exceptions.ProtocolFileException;
 import org.apache.oodt.cas.pushpull.exceptions.RetrievalMethodException;
 import org.apache.oodt.cas.pushpull.exceptions.ToManyFailedDownloadsException;
 import org.apache.oodt.cas.pushpull.exceptions.UndefinedTypeException;
@@ -44,7 +43,6 @@ import 
org.apache.oodt.cas.pushpull.retrievalsystem.FileRetrievalSystem;
 //JDK imports
 import java.io.File;
 import java.io.FileInputStream;
-import java.net.MalformedURLException;
 import java.util.List;
 import java.util.Stack;
 import java.util.logging.Level;
@@ -68,9 +66,9 @@ public class RemoteCrawler implements RetrievalMethod {
      * Starts the crawler and creates a default DirStruct if null was supplied
      * in constructor
      *
-     * @throws MalformedURLException
-     * @throws ProtocolException
-     * @throws ProtocolFileException
+     * @throws java.net.MalformedURLException
+     * @throws org.apache.oodt.cas.pushpull.exceptions.ProtocolException
+     * @throws org.apache.oodt.cas.pushpull.exceptions.ProtocolFileException
      */
     @Override
    public void processPropFile(FileRetrievalSystem frs, Parser propFileParser,

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/Batchmgr.java
----------------------------------------------------------------------
diff --git 
a/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/Batchmgr.java 
b/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/Batchmgr.java
index d9b399c..bad50f7 100644
--- a/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/Batchmgr.java
+++ b/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/Batchmgr.java
@@ -26,7 +26,6 @@ import 
org.apache.oodt.cas.resource.structs.exceptions.JobExecutionException;
 import org.apache.oodt.cas.resource.structs.ResourceNode;
 
 //java imports
-import java.net.URL;
 import java.util.List;
 
 /**
@@ -46,7 +45,7 @@ public interface Batchmgr {
      * @param job
      *            The {@link JobSpec} to execute.
      * @param remoteHost
-     *            A {@link URL} pointer to the remote host to execute the job
+     *            A {@link java.net.URL} pointer to the remote host to execute 
the job
      *            on.
      * @return true if the job execution was successful, false otherwise.
      * @throws JobExecutionException

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java
----------------------------------------------------------------------
diff --git 
a/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java
 
b/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java
index 4a4f2b2..039019e 100644
--- 
a/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java
+++ 
b/resource/src/main/java/org/apache/oodt/cas/resource/batchmgr/XmlRpcBatchMgrProxy.java
@@ -18,22 +18,22 @@
 
 package org.apache.oodt.cas.resource.batchmgr;
 
-//JDK imports
-import java.io.IOException;
-import java.util.Vector;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
 //OODT imports
-import org.apache.oodt.cas.resource.structs.Job;
 import org.apache.oodt.cas.resource.structs.JobSpec;
-import org.apache.oodt.cas.resource.util.XmlRpcStructFactory;
 import org.apache.oodt.cas.resource.structs.ResourceNode;
+import org.apache.oodt.cas.resource.util.XmlRpcStructFactory;
 
 //APACHE imports
 import org.apache.xmlrpc.XmlRpcClient;
 import org.apache.xmlrpc.XmlRpcException;
 
+//JDK imports
+import java.io.IOException;
+import java.util.Vector;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+
 /**
  * 
  * @author woollard
@@ -42,8 +42,8 @@ import org.apache.xmlrpc.XmlRpcException;
  * <p>
  * A {@link Runnable} proxy to an XmlRpcBatchStub that allows the call to the
  * XmlRpcBatchStub to be asynchronous rather than synchronous. This allows a
- * {@link Scheduler} that calls the {@link XmlRpcBatchMgr} to not be stuck
- * waiting for each job to complete before scheduling the next {@link Job}
+ * {@link org.apache.oodt.cas.resource.scheduler.Scheduler} that calls the 
{@link XmlRpcBatchMgr} to not be stuck
+ * waiting for each job to complete before scheduling the next {@link 
org.apache.oodt.cas.resource.structs.Job}
  * </p>.
  */
 public class XmlRpcBatchMgrProxy extends Thread implements Runnable {

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetExecReportCliAction.java
----------------------------------------------------------------------
diff --git 
a/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetExecReportCliAction.java
 
b/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetExecReportCliAction.java
index 2a0410e..a757550 100644
--- 
a/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetExecReportCliAction.java
+++ 
b/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetExecReportCliAction.java
@@ -20,7 +20,7 @@ package org.apache.oodt.cas.resource.cli.action;
 import org.apache.oodt.cas.cli.exception.CmdLineActionException;
 
 /**
- * A {@link CmdLineAction} which list all jobs executing and shows 
+ * A {@link org.apache.oodt.cas.cli.action.CmdLineAction} which list all jobs 
executing and shows
  * what nodes are executing those jobs in addition to queue name and
  * load value.
  * 

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetNodeReportCliAction.java
----------------------------------------------------------------------
diff --git 
a/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetNodeReportCliAction.java
 
b/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetNodeReportCliAction.java
index fd4bb24..3aff14a 100644
--- 
a/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetNodeReportCliAction.java
+++ 
b/resource/src/main/java/org/apache/oodt/cas/resource/cli/action/GetNodeReportCliAction.java
@@ -20,7 +20,7 @@ package org.apache.oodt.cas.resource.cli.action;
 import org.apache.oodt.cas.cli.exception.CmdLineActionException;
 
 /**
- * A {@link CmdLineAction} which returns name (all nodes will be displayed in 
alphabetical order), 
+ * A {@link org.apache.oodt.cas.cli.action.CmdLineAction} which returns name 
(all nodes will be displayed in alphabetical order),
  * load and capacity of all nodes, in addition to what queues that node draws 
from.
  * 
  */

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java
----------------------------------------------------------------------
diff --git 
a/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java
 
b/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java
index 932fb69..5f4db15 100644
--- 
a/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java
+++ 
b/resource/src/main/java/org/apache/oodt/cas/resource/system/XmlRpcResourceManagerClient.java
@@ -18,36 +18,32 @@
 
 package org.apache.oodt.cas.resource.system;
 
-//APACHE imports
-import org.apache.xmlrpc.CommonsXmlRpcTransportFactory;
-import org.apache.xmlrpc.XmlRpcClient;
-import org.apache.xmlrpc.XmlRpcException;
 
 //OODTimports
 import org.apache.oodt.cas.cli.CmdLineUtility;
 import org.apache.oodt.cas.resource.structs.Job;
 import org.apache.oodt.cas.resource.structs.JobInput;
-import org.apache.oodt.cas.resource.structs.JobSpec;
 import org.apache.oodt.cas.resource.structs.JobStatus;
 import org.apache.oodt.cas.resource.structs.ResourceNode;
-import org.apache.oodt.cas.resource.structs.exceptions.JobExecutionException;
-import org.apache.oodt.cas.resource.structs.exceptions.JobQueueException;
-import org.apache.oodt.cas.resource.structs.exceptions.JobRepositoryException;
-import org.apache.oodt.cas.resource.structs.exceptions.MonitorException;
-import org.apache.oodt.cas.resource.structs.exceptions.QueueManagerException;
+import org.apache.oodt.cas.resource.structs.exceptions.*;
 import org.apache.oodt.cas.resource.util.XmlRpcStructFactory;
 
+//APACHE imports
+import org.apache.xmlrpc.CommonsXmlRpcTransportFactory;
+import org.apache.xmlrpc.XmlRpcClient;
+import org.apache.xmlrpc.XmlRpcException;
+
 //JDK imports
+import java.io.File;
+import java.io.FileInputStream;
+import java.io.IOException;
 import java.net.URL;
 import java.util.Hashtable;
-import java.util.Iterator;
 import java.util.List;
 import java.util.Vector;
 import java.util.logging.Level;
 import java.util.logging.Logger;
-import java.io.FileInputStream;
-import java.io.File;
-import java.io.IOException;
+
 
 /**
  * @author mattmann

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/pagination/ProductPaginator.java
----------------------------------------------------------------------
diff --git 
a/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/pagination/ProductPaginator.java
 
b/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/pagination/ProductPaginator.java
index 672fb85..4c6953d 100644
--- 
a/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/pagination/ProductPaginator.java
+++ 
b/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/pagination/ProductPaginator.java
@@ -17,14 +17,8 @@
 
 package org.apache.oodt.cas.webcomponents.filemgr.browser.pagination;
 
-//JDK imports
-import java.io.Serializable;
-import java.util.List;
-import java.util.Vector;
-
 //OODT imports
 import org.apache.oodt.cas.filemgr.structs.ProductPage;
-import org.apache.oodt.cas.webcomponents.filemgr.browser.types.TypeBrowser;
 
 //Wicket imports
 import org.apache.wicket.PageParameters;
@@ -36,6 +30,14 @@ import org.apache.wicket.markup.html.list.ListItem;
 import org.apache.wicket.markup.html.list.ListView;
 import org.apache.wicket.markup.html.panel.Panel;
 
+//JDK imports
+import java.io.Serializable;
+import java.util.List;
+import java.util.Vector;
+
+
+
+
 /**
  * 
  * A paginator component that expands to a +/- 5 page

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/product/ProductRefsBrowser.java
----------------------------------------------------------------------
diff --git 
a/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/product/ProductRefsBrowser.java
 
b/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/product/ProductRefsBrowser.java
index 14ff469..89b8f28 100644
--- 
a/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/product/ProductRefsBrowser.java
+++ 
b/webapp/components/src/main/java/org/apache/oodt/cas/webcomponents/filemgr/browser/product/ProductRefsBrowser.java
@@ -17,16 +17,8 @@
 
 package org.apache.oodt.cas.webcomponents.filemgr.browser.product;
 
-//JDK imports
-import java.io.File;
-import java.net.URI;
-import java.text.NumberFormat;
-import java.util.List;
-import java.util.logging.Level;
-import java.util.logging.Logger;
 
 //OODT imports
-import org.apache.oodt.cas.filemgr.structs.Product;
 import org.apache.oodt.cas.filemgr.structs.Reference;
 import org.apache.oodt.cas.filemgr.structs.exceptions.CatalogException;
 import org.apache.oodt.cas.filemgr.structs.exceptions.DataTransferException;
@@ -39,9 +31,19 @@ import org.apache.wicket.markup.html.list.ListView;
 import org.apache.wicket.markup.html.panel.Panel;
 import org.apache.wicket.model.util.ListModel;
 
+//JDK imports
+import java.io.File;
+import java.net.URI;
+import java.text.NumberFormat;
+import java.util.List;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+
+
 /**
  *
- * Component responsible for showing a {@link Product}s
+ * Component responsible for showing a {@link 
org.apache.oodt.cas.filemgr.structs.Product}s
  * {@link List} of {@link Reference}s.
  *
  * @author mattmann

http://git-wip-us.apache.org/repos/asf/oodt/blob/08fad265/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
----------------------------------------------------------------------
diff --git 
a/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
 
b/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
index 535a9c4..690928b 100644
--- 
a/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
+++ 
b/workflow/src/main/java/org/apache/oodt/cas/workflow/cli/action/GetWorkflowByIdCliAction.java
@@ -16,14 +16,13 @@
  */
 package org.apache.oodt.cas.workflow.cli.action;
 
-import org.apache.oodt.cas.cli.action.CmdLineAction;
 //OODT imports
 import org.apache.oodt.cas.cli.exception.CmdLineActionException;
 import org.apache.oodt.cas.workflow.structs.Workflow;
 import org.apache.oodt.cas.workflow.structs.WorkflowTask;
 
 /**
- * A {@link CmdLineAction} which retrieves Workflow information for
+ * A {@link org.apache.oodt.cas.cli.action.CmdLineAction} which retrieves 
Workflow information for
  * Workflow with given workflow ID.
  *
  * @author bfoster (Brian Foster)

Reply via email to