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

Fix JavaUtilDate error prone warning #11

Open
mfvanek opened this issue Jun 3, 2023 · 0 comments
Open

Fix JavaUtilDate error prone warning #11

mfvanek opened this issue Jun 3, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mfvanek
Copy link
Owner

mfvanek commented Jun 3, 2023

DemoInsertApp.java:45: warning: [JavaUtilDate] Date has a bad API that leads to bugs; prefer java.time.Instant or LocalDate.
                final TestEvent firstEvent = new TestEvent("Our very first event!", new Date());
                                                                                    ^
    (see https://errorprone.info/bugpattern/JavaUtilDate)
@mfvanek mfvanek added bug Something isn't working help wanted Extra attention is needed good first issue Good for newcomers labels Jun 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant