From 0a55b8473edb4b3fc2db70b2e09c969629744e0d Mon Sep 17 00:00:00 2001 From: yukihane Date: Sun, 13 May 2012 15:37:15 +0900 Subject: [PATCH] =?utf8?q?config=E5=80=A4=E3=82=92=E8=AA=AD=E3=82=93?= =?utf8?q?=E3=81=A7=E6=8A=95=E7=A8=BF=E8=80=85=E3=82=B3=E3=83=A1=E3=83=B3?= =?utf8?q?=E3=83=88=E3=81=AE=E3=81=BF=E5=8F=96=E5=BE=97=E3=81=99=E3=82=8B?= =?utf8?q?=E3=81=8B=E3=81=A9=E3=81=86=E3=81=8B=E3=82=92=E6=B1=BA=E5=AE=9A?= =?utf8?q?=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- frontend/src/yukihane/inqubus/config/ConfigCommentProfile.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.11.0