mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2026-11-08 11:47:36 +00:00
修正
This commit is contained in:
1 file changed
+4
-4
+4
-4
@@ -164,21 +164,21 @@ public class LacertaApplyTagDialog extends DialogFragment {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private CompletableFuture<ArrayList<DocumentTag>> setAppliedTagList(String documentId) {
|
private CompletableFuture<Void> setAppliedTagList(String documentId) {
|
||||||
return CompletableFuture.supplyAsync(() -> {
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
lacertaLibrary.getAppliedTagList(documentId).thenAccept(documentTags -> {
|
lacertaLibrary.getAppliedTagList(documentId).thenAccept(documentTags -> {
|
||||||
this.appliedTags = documentTags;
|
this.appliedTags = documentTags;
|
||||||
});
|
});
|
||||||
return this.appliedTags;
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private CompletableFuture<ArrayList<DocumentTag>> setRegisteredTagList() {
|
private CompletableFuture<Void> setRegisteredTagList() {
|
||||||
return CompletableFuture.supplyAsync(() -> {
|
return CompletableFuture.supplyAsync(() -> {
|
||||||
lacertaLibrary.getTagList().thenAccept(documentTags -> {
|
lacertaLibrary.getTagList().thenAccept(documentTags -> {
|
||||||
this.registeredTags = documentTags;
|
this.registeredTags = documentTags;
|
||||||
});
|
});
|
||||||
return this.registeredTags;
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user