From 83899c2fb035df3c883d6cca6e12709254ae370a Mon Sep 17 00:00:00 2001 From: percyashu Date: Sun, 12 Apr 2020 16:55:29 +0100 Subject: [PATCH] FINERACT-826 Remove unused getTimeZone --- .../apache/fineract/infrastructure/core/service/DateUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/DateUtils.java b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/DateUtils.java index e9390507c96..ecef6ee8d88 100644 --- a/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/DateUtils.java +++ b/fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/service/DateUtils.java @@ -41,7 +41,6 @@ public static DateTimeZone getDateTimeZoneOfTenant() { DateTimeZone zone = null; if (tenant != null) { zone = DateTimeZone.forID(tenant.getTimezoneId()); - TimeZone.getTimeZone(tenant.getTimezoneId()); } return zone; } @@ -110,4 +109,4 @@ public static String formatToSqlDate(final Date date) { public static boolean isDateInTheFuture(final LocalDate localDate) { return localDate.isAfter(getLocalDateOfTenant()); } -} \ No newline at end of file +}