remove unused imports

This commit is contained in:
Doug MacEachern 2004-11-20 21:16:58 +00:00
parent c132f5a706
commit 96e7c48c6c
13 changed files with 2 additions and 20 deletions

View File

@ -1,6 +1,5 @@
package net.hyperic.sigar;
import java.io.File;
import java.util.Date;
public class FileInfo extends FileAttrs {

View File

@ -1,6 +1,5 @@
package net.hyperic.sigar;
import java.util.Map;
import java.util.HashMap;
import java.io.IOException;

View File

@ -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;

View File

@ -1,7 +1,6 @@
package net.hyperic.sigar;
import java.io.File;
import java.io.IOException;
import java.util.Collections;
import java.util.HashSet;

View File

@ -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;

View File

@ -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);
}

View File

@ -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 {

View File

@ -1,7 +1,5 @@
package net.hyperic.sigar.test;
import net.hyperic.sigar.Sigar;
public class TestFQDN extends SigarTestCase {
public TestFQDN(String name) {

View File

@ -1,7 +1,6 @@
package net.hyperic.sigar.test;
import net.hyperic.sigar.Sigar;
import net.hyperic.sigar.SigarNotImplementedException;
public class TestLog extends SigarTestCase {

View File

@ -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;

View File

@ -1,6 +1,5 @@
package net.hyperic.sigar.test;
import java.io.File;
import java.util.List;
import net.hyperic.sigar.Sigar;

View File

@ -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 {

View File

@ -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;