From: yukihane Date: Sun, 13 May 2012 06:37:15 +0000 (+0900) Subject: config値を読んで投稿者コメントのみ取得するかどうかを決定する X-Git-Tag: rel20120513_ver2.2.1~1^2~4 X-Git-Url: http://git.osdn.net/view?p=coroid%2Finqubus.git;a=commitdiff_plain;h=0a55b8473edb4b3fc2db70b2e09c969629744e0d config値を読んで投稿者コメントのみ取得するかどうかを決定する --- diff --git a/frontend/src/yukihane/inqubus/config/ConfigCommentProfile.java b/frontend/src/yukihane/inqubus/config/ConfigCommentProfile.java index 33838c2..8054992 100644 --- a/frontend/src/yukihane/inqubus/config/ConfigCommentProfile.java +++ b/frontend/src/yukihane/inqubus/config/ConfigCommentProfile.java @@ -14,6 +14,7 @@ public class ConfigCommentProfile implements CommentProfile { private final boolean disablePerMinComment; private final long backLogPoint; private final boolean download; + private final boolean ownerCommentOnly; private final File dir; private final String fileName; @@ -24,6 +25,7 @@ public class ConfigCommentProfile implements CommentProfile { this.disablePerMinComment = p.getCommentMinDisabled(); this.backLogPoint = -1L; this.download = !p.getCommentUseLocal(); + this.ownerCommentOnly = p.getCommentOwnerOnly(); this.dir = new File(p.getCommentDir()); this.fileName = p.getCommentFileNamePattern(); } @@ -50,7 +52,7 @@ public class ConfigCommentProfile implements CommentProfile { @Override public boolean isOwnerCommentOnly() { - return false; + return ownerCommentOnly; } @Override