i have a proble i have made a class SingleTon .. i use it in many places in my project
.. but just have relised that the calss is creating more intances ...the code is as
following
public class LogManager
{
private java.io.PrintStream m_out;
private LogManager( PrintStream out
project unchanged ..
Devashish Bajpai
On Thu, 18 Mar 2004 Bill Littman wrote :
Or you could do this:
static private LogManager sm_instance = new LogManager( System.out );
static public LogManager getInstance()
{
return sm_instance;
}
-Bill
-Original Message-
From: [EMAIL PROTECTED