Weird stuff in test framework

2011-10-11 Thread Dawid Weiss
[Don't know if this made it through, I might have sent it from a wrong e-mail address...] As part of working on LUCENE-3492 I've been copy-pasting chunks of existing code. If you can peek at the diff in the attachment some of the things got me thinking...= One seems to be a bug/ overlook (unused p

Weird stuff in test framework

2011-10-08 Thread Dawid Weiss
Hi. As part of working on LUCENE-3492 I've been copy-pasting chunks of existing code. If you can peek at the diff in the attachment some of the things got me thinking...= One seems to be a bug/ overlook (unused parameter), but the other is my personal candidate for the most weird snippet of the mon