From 07a489b1519cf500f0aeb11cba05741e879a718e Mon Sep 17 00:00:00 2001 From: r-ca Date: Sat, 16 Dec 2023 13:35:51 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B3=E3=83=B3=E3=82=B9=E3=83=88=E3=83=A9?= =?UTF-8?q?=E3=82=AF=E3=82=BF=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nem/lacerta/model/document/DocumentDetail.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java index b82319ac..20119a31 100644 --- a/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java +++ b/model/src/main/java/one/nem/lacerta/model/document/DocumentDetail.java @@ -10,7 +10,6 @@ import one.nem.lacerta.model.document.DocumentMeta; * ドキュメントの詳細データ */ public class DocumentDetail { - // TODO-rca: コンストラクタを追加する /** * ドキュメントのメタデータ(DocumentMetaインスタンス) @@ -32,6 +31,16 @@ public class DocumentDetail { */ String defaultBranch; + // Constructor + public DocumentDetail() { + } + + public DocumentDetail(DocumentMeta meta, DocumentPath path, String author, String defaultBranch) { + this.meta = meta; + this.path = path; + this.author = author; + this.defaultBranch = defaultBranch; + } // Getter