double checked-locking

2001-05-24 Thread Immanuel, Gidado-Yisa
I noticed an instance where double checked-locking (DCL) is used in Struts: org.apache.struts.action.ActionServlet lines 1561 - 1586 According to the article below: http://www.cs.umd.edu/~pugh/java/memoryModel/DoubleCheckedLocking.html But after further inspection, I think that what goes

digester and whitespace in XML text body

2001-05-24 Thread Nick Afshartous
I'd like to follow up on my original post. It looks like the digester.CallMethodRule.body method doesn't remove whitespace from both ends of the XML body text. However, other rules like digester.CallParamRule.body actually do by calling method String.trim. Maybe the call to String.trim should