*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* @return The filtered new-post notification, or {@code null} if the
* notification should be removed
*/
* @return The filtered new-post notification, or {@code null} if the
* notification should be removed
*/
- public static ListNotification<Post> filterNewPostNotification(ListNotification<Post> newPostNotification, Sone currentSone, boolean soneRequired) {
+ private static ListNotification<Post> filterNewPostNotification(ListNotification<Post> newPostNotification, Sone currentSone, boolean soneRequired) {
* @return The filtered new-reply notification, or {@code null} if the
* notification should be removed
*/
* @return The filtered new-reply notification, or {@code null} if the
* notification should be removed
*/
*/
public static boolean isPostVisible(Sone sone, Post post) {
checkNotNull(post, "post must not be null");
*/
public static boolean isPostVisible(Sone sone, Post post) {
checkNotNull(post, "post must not be null");