remove unused imports
This commit is contained in:
		
							parent
							
								
									3d89246fef
								
							
						
					
					
						commit
						844b34564b
					
				@ -1,7 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarProxy;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.CpuPerc;
 | 
			
		||||
import net.hyperic.sigar.MultiProcCpu;
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.NetConnection;
 | 
			
		||||
import net.hyperic.sigar.NetFlags;
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,6 @@ package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import java.io.PrintStream;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.Iterator;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.lang.reflect.Method;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarPermissionDeniedException;
 | 
			
		||||
import net.hyperic.sigar.ProcFd;
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,6 @@ package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarNotImplementedException;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -21,6 +21,7 @@ import net.hyperic.sigar.shell.ShellCommandInitException;
 | 
			
		||||
import net.hyperic.sigar.shell.ShellCommandUsageException;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.test.SigarTestRunner;
 | 
			
		||||
import net.hyperic.sigar.util.Getline;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * The Sigar Shell provides a command shell for running the example
 | 
			
		||||
@ -163,7 +164,7 @@ public class Shell extends ShellBase {
 | 
			
		||||
            if (args.length == 0) {
 | 
			
		||||
                shell.isInteractive = true;
 | 
			
		||||
                shell.initHistory();
 | 
			
		||||
                shell.gl.setCompleter(shell);
 | 
			
		||||
                Getline.setCompleter(shell);
 | 
			
		||||
                shell.run();
 | 
			
		||||
            }
 | 
			
		||||
            else {
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.cmd;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Mem;
 | 
			
		||||
import net.hyperic.sigar.Swap;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,6 @@ import java.util.Comparator;
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.util.StringTokenizer;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarProxy;
 | 
			
		||||
import net.hyperic.sigar.util.ReferenceMap;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,10 +2,8 @@ package net.hyperic.sigar.ptql;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.ProcCred;
 | 
			
		||||
import net.hyperic.sigar.ProcState;
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarProxy;
 | 
			
		||||
import net.hyperic.sigar.SigarProxyCache;
 | 
			
		||||
 | 
			
		||||
public class ProcessQueryGenerator {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,7 +2,6 @@ package net.hyperic.sigar.shell;
 | 
			
		||||
 | 
			
		||||
import java.io.PrintStream;
 | 
			
		||||
 | 
			
		||||
import java.util.Arrays;
 | 
			
		||||
import java.util.ArrayList;
 | 
			
		||||
import java.util.Collection;
 | 
			
		||||
import java.util.Iterator;
 | 
			
		||||
 | 
			
		||||
@ -3,7 +3,6 @@ package net.hyperic.sigar.shell;
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.io.FilenameFilter;
 | 
			
		||||
 | 
			
		||||
import java.util.List;
 | 
			
		||||
import java.util.Iterator;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.SigarLoader;
 | 
			
		||||
 | 
			
		||||
@ -26,7 +26,7 @@ public class ShellCommand_alias extends ShellCommandBase {
 | 
			
		||||
        String[] aliasArgs = new String[ aliasArgsLen ];
 | 
			
		||||
        System.arraycopy(args, 1, aliasArgs, 0, aliasArgsLen);
 | 
			
		||||
 | 
			
		||||
        this.aliases.put(args[0], aliasArgs);
 | 
			
		||||
        aliases.put(args[0], aliasArgs);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    public String getSyntaxArgs() {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user