diff --git a/Plugins/Mineplex.Core/src/mineplex/core/report/ReportManager.java b/Plugins/Mineplex.Core/src/mineplex/core/report/ReportManager.java index 044f5e7ff..eabff2edb 100644 --- a/Plugins/Mineplex.Core/src/mineplex/core/report/ReportManager.java +++ b/Plugins/Mineplex.Core/src/mineplex/core/report/ReportManager.java @@ -7,7 +7,6 @@ import java.util.Map; import java.util.Optional; import java.util.Set; import java.util.UUID; -import java.util.concurrent.CompletionStage; import java.util.concurrent.CompletableFuture; import java.util.logging.Level; import java.util.stream.Collectors; @@ -869,46 +868,4 @@ public class ReportManager return NAME + " #" + reportId; } - public CompletableFuture> a(int reporterId) - { - return _reportRepository.getOpenReports(reporterId); - } - - public CompletableFuture>>> b(int reporterId) - { - return _reportRepository.getOpenReports(reporterId) - .thenApply(reportIds -> - reportIds.stream().map(_reportRepository::getReport).collect(Collectors.toList())); - } - - public CompletableFuture>> c(int reporterId) - { - return _reportRepository.getOpenReports(reporterId) - .thenApply(reportIds -> - reportIds.stream().map(_reportRepository::getReport).collect(Collectors.toList())) - .thenCompose(UtilFuture::sequence); - } - - public CompletableFuture> d(int reporterId) - { - return _reportRepository.getOpenReports(reporterId) - .thenApply(reportIds -> - reportIds.stream().map(_reportRepository::getReport).collect(Collectors.toList())) - .thenCompose(UtilFuture::sequence) - .thenApply(UtilCollections::unboxPresent); - } - - public CompletableFuture> e(int reporterId) - { - return _reportRepository.getOpenReports(reporterId) - .thenApply(reportIds -> - reportIds.stream().map(_reportRepository::getReport).collect(Collectors.toList())) - .thenCompose(UtilFuture::sequence) - .thenApply(UtilCollections::unboxPresent) - .thenCompose(reports -> UtilFuture.filter(reports, this::isActiveReport)); - } - - public CompletableFuture> f(List z) { - return UtilFuture.filter(z, a -> CompletableFuture.completedFuture(true)); - } }