remove unused imports

This commit is contained in:
Doug MacEachern 2004-11-21 02:15:41 +00:00
parent 3d89246fef
commit 844b34564b
12 changed files with 3 additions and 14 deletions

View File

@ -1,7 +1,6 @@
package net.hyperic.sigar.cmd; package net.hyperic.sigar.cmd;
import net.hyperic.sigar.Sigar; import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarProxy;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.CpuPerc; import net.hyperic.sigar.CpuPerc;
import net.hyperic.sigar.MultiProcCpu; import net.hyperic.sigar.MultiProcCpu;

View File

@ -1,6 +1,5 @@
package net.hyperic.sigar.cmd; package net.hyperic.sigar.cmd;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.NetConnection; import net.hyperic.sigar.NetConnection;
import net.hyperic.sigar.NetFlags; import net.hyperic.sigar.NetFlags;

View File

@ -2,7 +2,6 @@ package net.hyperic.sigar.cmd;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Iterator;
import java.util.Map; import java.util.Map;
import java.lang.reflect.Method; import java.lang.reflect.Method;

View File

@ -1,6 +1,5 @@
package net.hyperic.sigar.cmd; package net.hyperic.sigar.cmd;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.SigarPermissionDeniedException; import net.hyperic.sigar.SigarPermissionDeniedException;
import net.hyperic.sigar.ProcFd; import net.hyperic.sigar.ProcFd;

View File

@ -2,7 +2,6 @@ package net.hyperic.sigar.cmd;
import java.util.List; import java.util.List;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.SigarNotImplementedException; import net.hyperic.sigar.SigarNotImplementedException;

View File

@ -21,6 +21,7 @@ import net.hyperic.sigar.shell.ShellCommandInitException;
import net.hyperic.sigar.shell.ShellCommandUsageException; import net.hyperic.sigar.shell.ShellCommandUsageException;
import net.hyperic.sigar.test.SigarTestRunner; import net.hyperic.sigar.test.SigarTestRunner;
import net.hyperic.sigar.util.Getline;
/** /**
* The Sigar Shell provides a command shell for running the example * The Sigar Shell provides a command shell for running the example
@ -163,7 +164,7 @@ public class Shell extends ShellBase {
if (args.length == 0) { if (args.length == 0) {
shell.isInteractive = true; shell.isInteractive = true;
shell.initHistory(); shell.initHistory();
shell.gl.setCompleter(shell); Getline.setCompleter(shell);
shell.run(); shell.run();
} }
else { else {

View File

@ -1,7 +1,5 @@
package net.hyperic.sigar.cmd; package net.hyperic.sigar.cmd;
import net.hyperic.sigar.Mem;
import net.hyperic.sigar.Swap;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import java.io.File; import java.io.File;

View File

@ -5,7 +5,6 @@ import java.util.Comparator;
import java.util.Map; import java.util.Map;
import java.util.StringTokenizer; import java.util.StringTokenizer;
import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.SigarProxy; import net.hyperic.sigar.SigarProxy;
import net.hyperic.sigar.util.ReferenceMap; import net.hyperic.sigar.util.ReferenceMap;

View File

@ -2,10 +2,8 @@ package net.hyperic.sigar.ptql;
import net.hyperic.sigar.ProcCred; import net.hyperic.sigar.ProcCred;
import net.hyperic.sigar.ProcState; import net.hyperic.sigar.ProcState;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarException; import net.hyperic.sigar.SigarException;
import net.hyperic.sigar.SigarProxy; import net.hyperic.sigar.SigarProxy;
import net.hyperic.sigar.SigarProxyCache;
public class ProcessQueryGenerator { public class ProcessQueryGenerator {

View File

@ -2,7 +2,6 @@ package net.hyperic.sigar.shell;
import java.io.PrintStream; import java.io.PrintStream;
import java.util.Arrays;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Collection; import java.util.Collection;
import java.util.Iterator; import java.util.Iterator;

View File

@ -3,7 +3,6 @@ package net.hyperic.sigar.shell;
import java.io.File; import java.io.File;
import java.io.FilenameFilter; import java.io.FilenameFilter;
import java.util.List;
import java.util.Iterator; import java.util.Iterator;
import net.hyperic.sigar.SigarLoader; import net.hyperic.sigar.SigarLoader;

View File

@ -26,7 +26,7 @@ public class ShellCommand_alias extends ShellCommandBase {
String[] aliasArgs = new String[ aliasArgsLen ]; String[] aliasArgs = new String[ aliasArgsLen ];
System.arraycopy(args, 1, aliasArgs, 0, aliasArgsLen); System.arraycopy(args, 1, aliasArgs, 0, aliasArgsLen);
this.aliases.put(args[0], aliasArgs); aliases.put(args[0], aliasArgs);
} }
public String getSyntaxArgs() { public String getSyntaxArgs() {