From b596725d51583cbb201700b0487cd69f1a908707 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Tue, 24 Nov 2015 20:26:18 +0100 Subject: [PATCH] Expose methods to access fields --- 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