add getInstance() for back-compat

This commit is contained in:
Doug MacEachern 2005-10-07 20:55:44 +00:00
parent 15663ef35c
commit fadcfdcbf5
1 changed files with 7 additions and 0 deletions

View File

@ -27,6 +27,13 @@ public class EventLogThread implements Runnable {
private String logName = EventLog.APPLICATION; private String logName = EventLog.APPLICATION;
private long interval = DEFAULT_INTERVAL; private long interval = DEFAULT_INTERVAL;
/**
* @deprecated
*/
public static EventLogThread getInstance() {
return getInstance(EventLog.APPLICATION);
}
public static EventLogThread getInstance(String name) { public static EventLogThread getInstance(String name) {
EventLogThread instance; EventLogThread instance;