-
Notifications
You must be signed in to change notification settings - Fork 737
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
JdkObsolete: Date.from(Instant) #1672
Comments
Similarly, |
Hey Ben, As I'm sure you're aware, the Just curious: what legacy API is forcing you to pass a |
Yep, I suppressed without much fuss :)
|
This issue is somewhat related/duplicate of #1646. |
I have a fix for this internally. |
… these are often needed for interoping with a legacy API. Fixes #1672 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315510902
… these are often needed for interoping with a legacy API. Fixes #1672 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=315510902
Description of the problem / feature request:
Feature requests: what underlying problem are you trying to solve with this feature?
When bridging with legacy, external libraries that use
Date
then a conversion is needed. While a benefit if those libraries were upgraded, some may be no longer actively maintained while still being useful.It would be nice if
Date.from
did not trigger the warning, ideally suppressing it for the entire method block.The text was updated successfully, but these errors were encountered: