logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Lambert <cjlamb...@llnl.gov>
Subject static vs instance member
Date Wed, 27 Feb 2002 00:28:06 GMT

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:   <mailto:log4j-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@jakarta.apache.org>


Mime
View raw message