File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,8 +264,8 @@ public Context getContext() {
264264 @ NotNull
265265 @ Override
266266 public Iterable <Monitor <?>> getMonitors (@ NotNull StatisticsProvider statisticsProvider ) {
267- return IteratorUtils . toIterable ( StreamUtils .toStream (Iterables .transform (getConfigurations (), securityConfiguration -> securityConfiguration .getMonitors (statisticsProvider )))
268- .flatMap (StreamUtils ::toStream ).iterator ());
267+ return StreamUtils .toStream (Iterables .transform (getConfigurations (), securityConfiguration -> securityConfiguration .getMonitors (statisticsProvider )))
268+ .flatMap (StreamUtils ::toStream ).collect ( Collectors . toList ());
269269 }
270270
271271 private static final class Ranking {
You can’t perform that action at this time.
0 commit comments