From 71d4ac9defe655985a2dd00c0f7f37c07e24b00d Mon Sep 17 00:00:00 2001 From: Rahul Dev Garg <34365102+rahuldevgarg@users.noreply.github.com> Date: Thu, 7 Sep 2023 11:18:31 +0530 Subject: [PATCH] PFM-4509 --- .../src/main/java/org/egov/pg/utils/NotificationUtil.java | 2 +- .../main/java/org/egov/echallan/service/SchedulerService.java | 2 +- .../main/java/org/egov/wscalculation/util/NotificationUtil.java | 2 +- .../java/org/egov/waterconnection/service/SchedulerService.java | 2 +- .../java/org/egov/waterconnection/util/WaterServicesUtil.java | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core-services/egov-pg-service/src/main/java/org/egov/pg/utils/NotificationUtil.java b/core-services/egov-pg-service/src/main/java/org/egov/pg/utils/NotificationUtil.java index ccd1a211..c96f2ef7 100644 --- a/core-services/egov-pg-service/src/main/java/org/egov/pg/utils/NotificationUtil.java +++ b/core-services/egov-pg-service/src/main/java/org/egov/pg/utils/NotificationUtil.java @@ -112,7 +112,7 @@ public String getShortnerURL(String actualURL) { else return removeProtocolFromURL(res); } public String removeProtocolFromURL(String url){ - return url.replaceAll("/^https?:\\/\\//", "") + return url.replaceAll("/^https?:\\/\\//", ""); } public String getBusinessService(TransactionRequest transactionRequest){ StringBuilder uri = new StringBuilder(); diff --git a/municipal-services/echallan-services/src/main/java/org/egov/echallan/service/SchedulerService.java b/municipal-services/echallan-services/src/main/java/org/egov/echallan/service/SchedulerService.java index d13939c1..ba0c26f4 100644 --- a/municipal-services/echallan-services/src/main/java/org/egov/echallan/service/SchedulerService.java +++ b/municipal-services/echallan-services/src/main/java/org/egov/echallan/service/SchedulerService.java @@ -290,7 +290,7 @@ private CharSequence getShortenedUrl(String url) { return removeProtocolFromURL(res); } public String removeProtocolFromURL(String url){ - return url.replaceAll("/^https?:\\/\\//", "") + return url.replaceAll("/^https?:\\/\\//", ""); } public EventRequest sendGenerateDemandNotification(RequestInfo requestInfo, String tenantId) { diff --git a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/util/NotificationUtil.java b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/util/NotificationUtil.java index cd72e153..592b0d0a 100644 --- a/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/util/NotificationUtil.java +++ b/municipal-services/ws-calculator/src/main/java/org/egov/wscalculation/util/NotificationUtil.java @@ -197,7 +197,7 @@ public String getShortnerURL(String actualURL) { return removeProtocolFromURL(response.toString()); } public String removeProtocolFromURL(String url){ - return url.replaceAll("/^https?:\\/\\//", "") + return url.replaceAll("/^https?:\\/\\//", ""); } public HashMap getLocalizationMessage(RequestInfo requestInfo, String code,String tenantId) { diff --git a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/service/SchedulerService.java b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/service/SchedulerService.java index fbf444af..77df7a3a 100644 --- a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/service/SchedulerService.java +++ b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/service/SchedulerService.java @@ -201,7 +201,7 @@ private CharSequence getShortenedUrl(String url) { return removeProtocolFromURL(res); } public String removeProtocolFromURL(String url){ - return url.replaceAll("/^https?:\\/\\//", "") + return url.replaceAll("/^https?:\\/\\//", ""); } public String formatPendingCollectionMessage(RequestInfo requestInfo, String tenantId, String message, Map additionalDetailsMap) { diff --git a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/util/WaterServicesUtil.java b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/util/WaterServicesUtil.java index 9f23f126..b2648ae6 100644 --- a/municipal-services/ws-services/src/main/java/org/egov/waterconnection/util/WaterServicesUtil.java +++ b/municipal-services/ws-services/src/main/java/org/egov/waterconnection/util/WaterServicesUtil.java @@ -310,7 +310,7 @@ public String getShortnerURL(String actualURL) { return removeProtocolFromURL(response.toString()); } public String removeProtocolFromURL(String url){ - return url.replaceAll("/^https?:\\/\\//", "") + return url.replaceAll("/^https?:\\/\\//", ""); } public boolean isModifyConnectionRequest(WaterConnectionRequest waterConnectionRequest) {