引数変更

This commit is contained in:
r-ca 2024-01-21 16:28:06 +09:00
parent 722a3d8c7b
commit c167d83940
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@ public interface Document {
CompletableFuture<Void> deleteDocument(String documentId); CompletableFuture<Void> deleteDocument(String documentId);
CompletableFuture<Void> updateDocument(DocumentMeta meta, DocumentDetail detail); CompletableFuture<Void> updateDocument(DocumentDetail detail);
CompletableFuture<DocumentDetail> getDocument(String documentId); CompletableFuture<DocumentDetail> getDocument(String documentId);
} }

View File

@ -117,7 +117,7 @@ public class DocumentImpl implements Document {
} }
@Override @Override
public CompletableFuture<Void> updateDocument(DocumentMeta meta, DocumentDetail detail) { public CompletableFuture<Void> updateDocument(DocumentDetail detail) {
return CompletableFuture.supplyAsync(() -> { return CompletableFuture.supplyAsync(() -> {
return null; return null;
}); });