From fadcfdcbf5ef253cf5c19bdc2eba239ada988622 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 7 Oct 2005 20:55:44 +0000 Subject: [PATCH] add getInstance() for back-compat --- .../java/src/net/hyperic/sigar/win32/EventLogThread.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bindings/java/src/net/hyperic/sigar/win32/EventLogThread.java b/bindings/java/src/net/hyperic/sigar/win32/EventLogThread.java index 6ff51cbe..15f0e61d 100644 --- a/bindings/java/src/net/hyperic/sigar/win32/EventLogThread.java +++ b/bindings/java/src/net/hyperic/sigar/win32/EventLogThread.java @@ -27,6 +27,13 @@ public class EventLogThread implements Runnable { private String logName = EventLog.APPLICATION; private long interval = DEFAULT_INTERVAL; + /** + * @deprecated + */ + public static EventLogThread getInstance() { + return getInstance(EventLog.APPLICATION); + } + public static EventLogThread getInstance(String name) { EventLogThread instance;