From 98f85f934aebbf917bf78421ea91d9cbb5c1effc Mon Sep 17 00:00:00 2001 From: Julia Gustafsson Date: Fri, 16 Jun 2023 15:52:58 +0200 Subject: [PATCH] Remove method cached() --- .../application/standard/internal/StandardJPAStreamer.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/provider/application-standard/src/main/java/com/speedment/jpastreamer/application/standard/internal/StandardJPAStreamer.java b/provider/application-standard/src/main/java/com/speedment/jpastreamer/application/standard/internal/StandardJPAStreamer.java index 997ec680..b4ed30b6 100644 --- a/provider/application-standard/src/main/java/com/speedment/jpastreamer/application/standard/internal/StandardJPAStreamer.java +++ b/provider/application-standard/src/main/java/com/speedment/jpastreamer/application/standard/internal/StandardJPAStreamer.java @@ -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 boolean cached(final StreamConfiguration 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" +