By searchguy on Aug 30, 2007
We've been working on code cleanup, documentation, and sample programming for the search engine. Along the way I wanted to replace a method call returning an
Iterator backed by a collection that could change with a method that would return a copy of the
List and then get its iterator, thereby avoiding the dreaded
This sounded like a good time to try Jackpot. I had to install the development build of Netbeans 6 to get the development update center, but once that was done, it took about 5 minutes to write the Jackpot query to replace the old code with the new.
Having done something simple, I wrote a set of queries to replace a bunch of delegated methods in a class with a getter for the object to which the methods were being delegated and then calling the appropriate method on that object. The queries took about 20 minutes to write and then a few more minutes to debug and run.
All told, I reckon it took about an hour to do what would have taken a few hours of typing, compiling and fixing bugs. Thanks, Jackpot!