realm/realm-java — pull request #498 by kneth (2014-10-23 08:32:25+00:00)
Title: RealmQuery.findFirst - unit test and faster implementation

The method `findFirst()` does have a unit test so I added one. And while looking at the method, I reimplemented it for better performance.

@bmunkholm @emanuelez