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

Replace ZipUtils usage of deprecated java.util.Date with java.time #714

Merged
merged 1 commit into from
Nov 4, 2019

Conversation

slandelle
Copy link
Contributor

Motivation:

ZipUtils uses deprecated java.util.Date API.

Modification:

Switch to java.time API.

Result:

Fixed deprecation warning when comîling Zinc.

Motivation:

ZipUtils uses deprecated java.util.Date API.

Modification:

Switch to java.time API.

Result:

Fixed deprecation warning when comîling Zinc.
@slandelle
Copy link
Contributor Author

slandelle commented Nov 3, 2019

NB1: I wasn't able to add a spec as DOS time is timezone dependent.
NB2: Another possibility is to replace with dependency to commons-compress (it looks like this code come actually from there).

@jvican jvican merged commit 37665fc into sbt:develop Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants