remove unused imports
This commit is contained in:
		
							parent
							
								
									c132f5a706
								
							
						
					
					
						commit
						96e7c48c6c
					
				@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.util.Date;
 | 
			
		||||
 | 
			
		||||
public class FileInfo extends FileAttrs {
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar;
 | 
			
		||||
 | 
			
		||||
import java.util.Map;
 | 
			
		||||
import java.util.HashMap;
 | 
			
		||||
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar;
 | 
			
		||||
 | 
			
		||||
import java.io.BufferedReader;
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.io.FileReader;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
import java.io.Reader;
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
import java.util.Collections;
 | 
			
		||||
import java.util.HashSet;
 | 
			
		||||
 | 
			
		||||
@ -1,8 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.io.IOException;
 | 
			
		||||
 | 
			
		||||
import java.util.Collections;
 | 
			
		||||
import java.util.HashSet;
 | 
			
		||||
import java.util.Iterator;
 | 
			
		||||
 | 
			
		||||
@ -156,7 +156,7 @@ public class SigarProxyCache
 | 
			
		||||
        if (cacheVal.value != null) {
 | 
			
		||||
            String argDebug = "";
 | 
			
		||||
 | 
			
		||||
            if (this.debugEnabled) {
 | 
			
		||||
            if (debugEnabled) {
 | 
			
		||||
                if ((args != null) && (args.length != 0)) {
 | 
			
		||||
                    argDebug = " with args=" +
 | 
			
		||||
                        getDebugArgs(args, argKey);
 | 
			
		||||
@ -167,7 +167,7 @@ public class SigarProxyCache
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if ((timeNow - cacheVal.timestamp) > cacheVal.expire) {
 | 
			
		||||
                if (this.debugEnabled) {
 | 
			
		||||
                if (debugEnabled) {
 | 
			
		||||
                    debug("expiring " + method.getName() +
 | 
			
		||||
                          " from cache" + argDebug);
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import junit.framework.TestCase;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.Cpu;
 | 
			
		||||
import net.hyperic.sigar.CpuInfo;
 | 
			
		||||
 | 
			
		||||
public class TestCpuInfo extends SigarTestCase {
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
 | 
			
		||||
public class TestFQDN extends SigarTestCase {
 | 
			
		||||
 | 
			
		||||
    public TestFQDN(String name) {
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarNotImplementedException;
 | 
			
		||||
 | 
			
		||||
public class TestLog extends SigarTestCase {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarProxy;
 | 
			
		||||
import net.hyperic.sigar.SynchronizedSigarProxyCache;
 | 
			
		||||
 | 
			
		||||
@ -1,6 +1,5 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import java.io.File;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.ProcStat;
 | 
			
		||||
 | 
			
		||||
public class TestProcStat extends SigarTestCase {
 | 
			
		||||
 | 
			
		||||
@ -1,7 +1,6 @@
 | 
			
		||||
package net.hyperic.sigar.test;
 | 
			
		||||
 | 
			
		||||
import net.hyperic.sigar.Sigar;
 | 
			
		||||
import net.hyperic.sigar.SigarException;
 | 
			
		||||
import net.hyperic.sigar.SigarNotImplementedException;
 | 
			
		||||
import net.hyperic.sigar.ThreadCpu;
 | 
			
		||||
import net.hyperic.sigar.ThreadCpuTime;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user