すべてのコンストラクタで既定値(false)を入れるように

This commit is contained in:
r-ca 2024-01-27 17:20:50 +09:00
parent 45e6b9ab05
commit 4bdb1a489c
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -60,6 +60,8 @@ public class DocumentMeta { // TODO-rca: JavaDoc対応
this.id = UUID.randomUUID().toString(); this.id = UUID.randomUUID().toString();
this.title = title; this.title = title;
this.author = author; this.author = author;
this.isCombineChild = false;
this.isCombineParent = false;
} }
public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String author) { public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String author) {
@ -68,6 +70,8 @@ public class DocumentMeta { // TODO-rca: JavaDoc対応
this.updatedAt = updatedAt; this.updatedAt = updatedAt;
this.createdAt = createdAt; this.createdAt = createdAt;
this.author = author; this.author = author;
this.isCombineChild = false;
this.isCombineParent = false;
} }
public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String parentId, String author) { public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String parentId, String author) {
@ -77,6 +81,8 @@ public class DocumentMeta { // TODO-rca: JavaDoc対応
this.createdAt = createdAt; this.createdAt = createdAt;
this.parentId = parentId; this.parentId = parentId;
this.author = author; this.author = author;
this.isCombineChild = false;
this.isCombineParent = false;
} }
public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String parentId, String author, boolean isCombineChild, boolean isCombineParent) { public DocumentMeta(String id, String title, Date updatedAt, Date createdAt, String parentId, String author, boolean isCombineChild, boolean isCombineParent) {