remove unused properties map

This commit is contained in:
Doug MacEachern 2007-03-03 21:56:44 +00:00
parent a23d72e007
commit 013142eb93
1 changed files with 0 additions and 10 deletions

View File

@ -22,7 +22,6 @@ import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Properties;
public class Pdh extends Win32 {
@ -31,7 +30,6 @@ public class Pdh extends Win32 {
private long query = -1l; // Handle to the query
private String hostname = null;
private Properties names;
public Pdh() throws Win32Exception {
this.query = pdhOpenQuery();
@ -42,11 +40,6 @@ public class Pdh extends Win32 {
this.hostname = hostName;
}
public Pdh(Properties names) throws Win32Exception {
this();
this.names = names;
}
protected void finalize() throws Throwable {
try {
this.close();
@ -130,9 +123,6 @@ public class Pdh extends Win32 {
if (this.hostname != null) {
pdhConnectMachine(this.hostname);
}
if (this.names != null) {
path = this.names.getProperty(path, path);
}
long counter = pdhAddCounter(this.query, path);
try {