From 0132f25178e864d470a03faa38ff6be06a1de470 Mon Sep 17 00:00:00 2001 From: ng1905 Date: Mon, 6 Nov 2017 07:19:11 +0100 Subject: [PATCH] Fix if statement Missing ')' --- .../telegrambots/updatesreceivers/DefaultBotSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java b/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java index e82b130c..8de4ba24 100644 --- a/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java +++ b/telegrambots/src/main/java/org/telegram/telegrambots/updatesreceivers/DefaultBotSession.java @@ -261,7 +261,7 @@ public class DefaultBotSession implements BotSession { } } } catch (SocketException e) { - if (!e.getMessage().equals("Socket Closed") { + if (!e.getMessage().equals("Socket Closed")) { BotLogger.severe(LOGTAG, e); } } catch (SocketTimeoutException e) {