On Thu, 29 Apr 2010 12:07:58 -0300, Christophe Cordenier <[email protected]> wrote:

Hi

Hi!

Yes i have well understood this, it's just that i was remembering a rule
(PMD or Findbug) that told me to turn some of my inner classes to static for the one who do not access to the enclosing class, maybe it's just to have a clean coding style.

I guess this is more related to garbage collector, as every non-static inner class has an implicit reference to an object of the outer class.

--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to