デバッグ用の処理を削除

This commit is contained in:
r-ca 2024-01-23 03:11:38 +09:00
parent cd0c5e81c5
commit b11b78fa7f
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -38,13 +38,6 @@ public class LacertaLibraryImpl implements LacertaLibrary {
@Override @Override
public CompletableFuture<ArrayList<ListItem>> getRecentDocument(int limit) { public CompletableFuture<ArrayList<ListItem>> getRecentDocument(int limit) {
return CompletableFuture.supplyAsync(() -> { return CompletableFuture.supplyAsync(() -> {
// 5秒フリーズさせる
try {
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
List<DocumentEntity> documentEntities = database.documentDao().getRecentDocument(limit); List<DocumentEntity> documentEntities = database.documentDao().getRecentDocument(limit);
ArrayList<ListItem> listItems = new ArrayList<>(); ArrayList<ListItem> listItems = new ArrayList<>();