From: David ‘Bombe’ Roden Date: Fri, 8 Apr 2011 15:19:00 +0000 (+0200) Subject: Reduce visibility of all encoding methods to protected. X-Git-Tag: 0.6.5^2~39^2~23 X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=59e855811302ed0dc79f668e65c95f19e67b7c04 Reduce visibility of all encoding methods to protected. --- diff --git a/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java b/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java index 4f53321..fccb6f2 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/AbstractSoneCommand.java @@ -194,7 +194,7 @@ public abstract class AbstractSoneCommand extends AbstractCommand { * include the replies * @return The simple field set containing the posts */ - public SimpleFieldSet encodePosts(Collection posts, String prefix, boolean includeReplies) { + protected SimpleFieldSet encodePosts(Collection posts, String prefix, boolean includeReplies) { SimpleFieldSetBuilder postBuilder = new SimpleFieldSetBuilder(); int postIndex = 0; @@ -220,7 +220,7 @@ public abstract class AbstractSoneCommand extends AbstractCommand { * {@code null}) * @return The simple field set containing the replies */ - public SimpleFieldSet encodeReplies(Collection replies, String prefix) { + protected SimpleFieldSet encodeReplies(Collection replies, String prefix) { SimpleFieldSetBuilder replyBuilder = new SimpleFieldSetBuilder(); int replyIndex = 0;