From 79d02e6df41ae4c5c6a94aa52d491facf4d4ef7c Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 10 Jul 2015 11:25:23 +0200 Subject: [PATCH] Expose fields from FCP replies messages --- src/main/java/net/pterodactylus/fcp/BaseMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/net/pterodactylus/fcp/BaseMessage.java b/src/main/java/net/pterodactylus/fcp/BaseMessage.java index a5ea020..cca7d67 100644 --- a/src/main/java/net/pterodactylus/fcp/BaseMessage.java +++ b/src/main/java/net/pterodactylus/fcp/BaseMessage.java @@ -57,7 +57,7 @@ public class BaseMessage { * @return The content of the field, or null if there is no * such field */ - protected String getField(String field) { + public String getField(String field) { return receivedMessage.getField(field); } @@ -67,7 +67,7 @@ public class BaseMessage { * @see FcpMessage#getFields() * @return All fields from the message */ - protected Map getFields() { + public Map getFields() { return receivedMessage.getFields(); } -- 2.7.4