From 3230ff15bfb35bbd70c07b339473fa2be8640f64 Mon Sep 17 00:00:00 2001 From: Cesare Rocchi Date: Fri, 16 Mar 2018 19:48:03 +0100 Subject: [PATCH] Fix formatting --- lib/src/main/java/io/ably/lib/types/BaseMessage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/java/io/ably/lib/types/BaseMessage.java b/lib/src/main/java/io/ably/lib/types/BaseMessage.java index e2d0168b9..666981fd4 100644 --- a/lib/src/main/java/io/ably/lib/types/BaseMessage.java +++ b/lib/src/main/java/io/ably/lib/types/BaseMessage.java @@ -131,7 +131,7 @@ public void encode(ChannelOptions opts) throws AblyException { encoding = ((encoding == null) ? "" : encoding + "/") + "utf-8"; } } else if(!(data instanceof byte[])) { - throw AblyException.fromErrorInfo(new ErrorInfo("Invalid message data or encoding", 400, 40013)); + throw AblyException.fromErrorInfo(new ErrorInfo("Invalid message data or encoding", 400, 40013)); } } if (opts != null && opts.encrypted) {