From 013142eb933999713684f0e5265a9379823a5662 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Sat, 3 Mar 2007 21:56:44 +0000 Subject: [PATCH] remove unused properties map --- bindings/java/src/org/hyperic/sigar/win32/Pdh.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bindings/java/src/org/hyperic/sigar/win32/Pdh.java b/bindings/java/src/org/hyperic/sigar/win32/Pdh.java index 6649ba8a..379e4a32 100644 --- a/bindings/java/src/org/hyperic/sigar/win32/Pdh.java +++ b/bindings/java/src/org/hyperic/sigar/win32/Pdh.java @@ -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 {