By bloid
via talios.com
Published: Oct 22 2007 / 02:59
I remember reading this post the other day nodding to myself in agreement about how using closures and Java's new enhanced for loop makes the code a lot cleaner and easier to write, and then this evening a hit a bug in the TestNG IDEA plugin triggered by using this exact "improvement".
The problem with these closure/iterator-less loops in that when you use them you loose state information about the progress of your loop. The problem I hit with the plugin was with adding customer listeners to a test profile
Add your comment