Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Legacy java.util.Date used in io.cequence.openaiscala.domain.response #26

Open
phelps-sg opened this issue Jun 10, 2023 · 0 comments
Open

Comments

@phelps-sg
Copy link
Contributor

Various case classes in io.cequence.openaiscala.domain.response, including ModelInfo, make use of the legacy java.util.Date class, which uses mutable state. It is recommended to use the non-mutable classes in java.time package. See https://stackoverflow.com/questions/3614380/whats-the-standard-way-to-work-with-dates-and-times-in-scala-should-i-use-java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants