codelibs / fess

Fess is very powerful and easily deployable Enterprise Search Server.
https://fess.codelibs.org
Apache License 2.0
1k stars 165 forks source link

Centralize Current Time Retrieval Method #2799

Closed marevol closed 9 months ago

marevol commented 9 months ago

This issue tracks the modification of the current time retrieval method in the codebase. The proposed change aims to centralize the method of obtaining the current system time. This is accomplished by replacing direct calls to System.currentTimeMillis() with a centralized method, systemHelper.getCurrentTimeAsLong(). This change ensures consistency and maintainability in how the system time is accessed across various classes.