Re: [Codenarc-developer] InconsistentPropertySynchronization
Brought to you by:
chrismair
From: Hamlet D'A. <ham...@gm...> - 2011-06-04 06:42:47
|
That is the intent of the rule. It is so that someone doesn't see the value of a property in the middle of a state change. On Sat, Jun 4, 2011 at 12:36 AM, Chris Mair <chr...@ea...> wrote: > Hamlet, > > > > Is the intent that InconsistentPropertySynchronization cause a violation if > the class defines a synchronized getXXX() method but no matching setXXX() > method or like-named property exists? I ran into a violation for that for a > class at work. > > > > Chris -- Hamlet D'Arcy ham...@gm... |