From 87a3609a8028aaac1053cd9e6253e7255f75da36 Mon Sep 17 00:00:00 2001 From: chamil321 Date: Thu, 23 Jul 2020 22:01:25 +0530 Subject: [PATCH] Fix missing parentheses --- distributor/src/distributor/messenger.bal | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/distributor/src/distributor/messenger.bal b/distributor/src/distributor/messenger.bal index 55ece03..72c43ac 100644 --- a/distributor/src/distributor/messenger.bal +++ b/distributor/src/distributor/messenger.bal @@ -25,11 +25,11 @@ function getAwaitResultsMessage(string electionCode, string resultType, string r string pollingDivision = "/" + (pd_name ?: ""); string pdLevelName = ""; - if (resultCode.endsWith("PV") { + if (resultCode.endsWith("PV")) { pdLevelName = "POSTAL"; - } else if (resultCode.endsWith("DV") { + } else if (resultCode.endsWith("DV")) { pdLevelName = "DISPLACED"; - } else if (resultCode.endsWith("QV") { + } else if (resultCode.endsWith("QV")) { pdLevelName = "QUARANTINE"; } else { pdLevelName = "POLLING-DIVISION";