mirror of
https://github.com/lacerta-doc/Lacerta.git
synced 2024-11-26 17:53:14 +00:00
修正
This commit is contained in:
parent
a13f6e28ec
commit
efdf9c1fea
|
@ -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;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user