The LogSource has a static factory method called makeNewLogInstance();

How about following the naming conventions of JAXP and other fairly recent
libraries of just calling this newInstance()? Its not a big deal, it just
seems a bit less of a mouthful to remember.

Also a question. From the code it appears that the getInstance() method uses
lazy construction and calls makeNewLogInstance() if one does not already
exist. If so, should makeNewLogInstance() be a private/protected method?

i.e. should users always just call getInstance(). Or to put that another
way, when should users call makeNewLogInstance() over getInstance().

James



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to