From 7214da80fa99e97c97b7cfbf613bd5ef707971cf Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 20 Jan 2024 23:19:20 +0900 Subject: [PATCH] =?UTF-8?q?=E4=BB=AE=E7=BD=AE=E3=81=8D=E3=82=92=E9=9D=9E?= =?UTF-8?q?=E5=90=8C=E6=9C=9F=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lacerta/data/impl/LacertaLibraryImpl.java | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java index 086005f8..0c78b2e6 100644 --- a/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java +++ b/data/src/main/java/one/nem/lacerta/data/impl/LacertaLibraryImpl.java @@ -54,27 +54,30 @@ public class LacertaLibraryImpl implements LacertaLibrary { } @Override - public LibraryItemPage getLibraryPage(int limit) { - return null; + public CompletableFuture getLibraryPage(int limit) { + return CompletableFuture.supplyAsync(() -> { + return null; + }); } @Override - public LibraryItemPage getLibraryPage(int limit, int offset) { - return null; + public CompletableFuture getLibraryPage(int limit, int offset) { + return CompletableFuture.supplyAsync(() -> { + return null; + }); } @Override - public LibraryItemPage getLibraryPage(String pageId, int limit) { - return null; + public CompletableFuture getLibraryPage(String pageId, int limit) { + return CompletableFuture.supplyAsync(() -> { + return null; + }); } @Override - public LibraryItemPage getLibraryPage(String pageId, int limit, int offset) { - return null; - } - - @Override - public DocumentDetail getDocumentDetailById(String id) { - return null; + public CompletableFuture getLibraryPage(String pageId, int limit, int offset) { + return CompletableFuture.supplyAsync(() -> { + return null; + }); } }