You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Chris Lambert <cj...@llnl.gov> on 2002/02/27 01:28:06 UTC

static vs instance member

what are people's opinions about making a category object static vs making 
it an instance member?  should it always be declared static, is it 
necessary to declare it static if its never called from a static context?

e.g.

   private Category cat;

vs

   private static Category cat;




---------- --------- -------- ------- ------ ----- ---- --- -- -
Christopher Lambert

Lawrence Livermore National Laboratory
7000 East Avenue   M/S L-493
Livermore, CA 94550

B 481, Rm 2231  -  (925) 423-4927  -  cjlambert@llnl.gov


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>