You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/04/18 15:37:57 UTC
[fineract] branch develop updated: FINERACT-826 Remove unused
getTimeZone
This is an automated email from the ASF dual-hosted git repository.
vorburger pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git
The following commit(s) were added to refs/heads/develop by this push:
new 83899c2 FINERACT-826 Remove unused getTimeZone
83899c2 is described below
commit 83899c2fb035df3c883d6cca6e12709254ae370a
Author: percyashu <pe...@gmail.com>
AuthorDate: Sun Apr 12 16:55:29 2020 +0100
FINERACT-826 Remove unused getTimeZone
---
.../org/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 e939050..ecef6ee 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 class DateUtils {
DateTimeZone zone = null;
if (tenant != null) {
zone = DateTimeZone.forID(tenant.getTimezoneId());
- TimeZone.getTimeZone(tenant.getTimezoneId());
}
return zone;
}
@@ -110,4 +109,4 @@ public class DateUtils {
public static boolean isDateInTheFuture(final LocalDate localDate) {
return localDate.isAfter(getLocalDateOfTenant());
}
-}
\ No newline at end of file
+}