This commit is contained in:
r-ca 2024-01-29 01:33:14 +09:00
parent ea345c45e4
commit 0735c90d5e
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -143,8 +143,7 @@ public class LacertaApplyTagDialog extends DialogFragment {
private CompletableFuture<ArrayList<DocumentTagApplyTagDialogExtendedModel>> getDocumentTagArrayList(String documentId) {
return CompletableFuture.supplyAsync(() -> {
ArrayList<DocumentTagApplyTagDialogExtendedModel> documentTagArrayList = new ArrayList<>();
setRegisteredTagList().thenRun(() -> setAppliedTagList(documentId)).thenAccept(Void -> {
setRegisteredTagList().thenRun(() -> setAppliedTagList(documentId).join()).thenAccept(Void -> {
logger.debug("getDocumentTagArrayList", "this.registeredTags.size(): " + this.registeredTags.size());
logger.debug("getDocumentTagArrayList", "this.appliedTags.size(): " + this.appliedTags.size());