Skip to content

Commit

Permalink
Remove method cached()
Browse files Browse the repository at this point in the history
  • Loading branch information
julgus committed Jun 16, 2023
1 parent 75fd605 commit 98f85f9
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,6 @@ public void close() {
closeHandler.run();
}

// Only cache simple configurations to limit the number of objects held
// See https://github.com/speedment/jpa-streamer/issues/56
private <T> boolean cached(final StreamConfiguration<T> streamConfiguration) {
return streamConfiguration.joins().isEmpty() && !streamConfiguration.selections().isPresent();
}

private void printGreeting(final ApplicationInformation info) {
final String greeting = String.format("%s%n" +
":: %s %s :: %s%n" +
Expand Down

0 comments on commit 98f85f9

Please sign in to comment.