Skip to content

Commit

Permalink
KEYCLOAK-16033 Revert Jpa*EventQuery to getResultList
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-kanis authored and hmlnarik committed Oct 22, 2020
1 parent 74b5143 commit f5c5234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 160,7 @@ public Stream<AdminEvent> getResultStream() {
query.setMaxResults(maxResults);
}

return closing(query.getResultStream().map(JpaEventStoreProvider::convertAdminEvent));
return closing(query.getResultList().stream().map(JpaEventStoreProvider::convertAdminEvent));
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 134,7 @@ public Stream<Event> getResultStream() {
}


return closing(query.getResultStream().map(JpaEventStoreProvider::convertEvent));
return closing(query.getResultList().stream().map(JpaEventStoreProvider::convertEvent));
}

}

0 comments on commit f5c5234

Please sign in to comment.