celements/xwiki-platform-search-lucene — pull request #3 by msladek (2014-09-11 09:34:33+00:00)
Title: Old code in SearchResults

Stumbled across old code in SearchResults.getResults(int, int) which seemed to be mostly duplicate of SearchResults.getRelevantResults(). However, it did not take into account the "skipChecks" boolean (since it's a newer addition to SearchResults) and could have therefore cause some problems.
I guess this code part was intended to be refactored into "getRelevantResults" at some point, but its' deletion was forgotten.

Please confirm & check code.