splunk/splunk-sdk-java — pull request #26 by davidfstr (2012-11-28 20:28:41+00:00)
Title: ResultReader.getNextEvent() interface change

I've added a `ResultReader.getNextEvent2()` method. The old `ResultReader.getNextEvent2` method has been updated to delegate to the new method internally.

There is a lot of code that uses the old method (including examples). These should be updated as well once the approach of the new method has been reviewed.

A few open issues:
* Should the old method be replaced entirely by the new method? This keeps legacy cruft out of GA but will require users to update a lot of code.
* The return type of the new method is `Map`, but could also be `Map`, or `Event` (a new class). We can discuss the merits of each choice offline.