Re: ClassCastException thrown when using subiterator and moveTo()

2007-06-28 Thread Philip Ogren
btw, the work around I had posted is *much* slower than the fixed subiterator method - for both creating the iterator and iterating through it. More than an order of magnitude slower (roughly 15x's slower). Thanks for the fix! Thilo Goetz wrote: public static FSIterator

Re: ClassCastException thrown when using subiterator and moveTo()

2007-06-27 Thread Thilo Goetz
Fixed for 2.2, thanks for reporting and providing the test case. This Groovy stuff looks pretty cool, I'll have to check it out some more... --Thilo Thilo Goetz wrote: The easiest place to create a test case is on Jira. Open a Jira bug for UIMA, and you can attach the test case. When you do

Re: ClassCastException thrown when using subiterator and moveTo()

2007-06-21 Thread Thilo Goetz
That's a bug. The underlying implementation of the two iterator types you mention is totally different, hence you see this only in one of them. Any chance you could provide a self-contained test case that exhibits this? --Thilo Philip Ogren wrote: I am having difficulty with using the