JsArray<? extends Result> results = event.getSearch().getResults();
for (int i = 0; i < results.length(); i++) {
Result result = results.get(i);
if (result instanceof LocalResult) {
LocalResult lsr = (LocalResult) result;
places.add(new LocalResultPlaceImpl(lsr));
}
}
return places;