• R/O
  • HTTP
  • SSH
  • HTTPS

inqubus: Commit

いんきゅばす(仮称; 旧名: さきゅばすのNicoBrowser拡張版)


Commit MetaInfo

Révision0a55b8473edb4b3fc2db70b2e09c969629744e0d (tree)
l'heure2012-05-13 16:17:41
Auteuryukihane <yukihane.feather@gmai...>
Commiteryukihane

Message de Log

config値を読んで投稿者コメントのみ取得するかどうかを決定する

Change Summary

Modification

--- 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 {
1414 private final boolean disablePerMinComment;
1515 private final long backLogPoint;
1616 private final boolean download;
17+ private final boolean ownerCommentOnly;
1718 private final File dir;
1819 private final String fileName;
1920
@@ -24,6 +25,7 @@ public class ConfigCommentProfile implements CommentProfile {
2425 this.disablePerMinComment = p.getCommentMinDisabled();
2526 this.backLogPoint = -1L;
2627 this.download = !p.getCommentUseLocal();
28+ this.ownerCommentOnly = p.getCommentOwnerOnly();
2729 this.dir = new File(p.getCommentDir());
2830 this.fileName = p.getCommentFileNamePattern();
2931 }
@@ -50,7 +52,7 @@ public class ConfigCommentProfile implements CommentProfile {
5052
5153 @Override
5254 public boolean isOwnerCommentOnly() {
53- return false;
55+ return ownerCommentOnly;
5456 }
5557
5658 @Override
Afficher sur ancien navigateur de dépôt.