Hello to all the four who replied (I guess a Gang of Four did reply to my 
message!!)
Thanks for all the suggestions. I will certainly look at all of them closely. 
Though it looks I may need the State pattern. I will also buy that book that 
was recommended.

In any case here is the code thats hard to read

Basically thats the code that I am trying to refactor ( I have relabeled the 
methods ) 

if (call.isNothingReturned() && (cCall.hasLockingCondition() || 
getUtility().usesConfig() ) 
                && (!call.shouldBuildObject()) && 
(getUtility().externalWriteUtility() || (!call.hasParameters())) && 
(!call.isWriteRequired()))

       
---------------------------------
Get easy, one-click access to your favorites.  Make Yahoo! your homepage.
_______________________________________________
patterns-discussion mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/patterns-discussion

Reply via email to