/** * Checks if the provided {@link UserLoginData} object is expired. * * @param data The {@link UserLoginData} object to check. * @return Returns {@code true} if the provided object is expired. */ private static boolean isExpired(final UserLoginData data) { boolean result = false; if (data.getExpiryts() - System.currentTimeMillis() <= 0L) { result = true; } return result; }