-
Notifications
You must be signed in to change notification settings - Fork 8
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 joda-time
with JSR 310 in Jenkins plugins
#32
Comments
We're working on making such recipes available over in You might want to follow that issue before any work is started here; We have a friend looking to make her recipes available, once those get cleared to open source. |
joda-time
with JSR 310joda-time
with JSR 310 in Jenkins plugins
A first batch of recipes has since been merged in: I've renamed this issue to reflect replacement in Jenkins plugins; this is likely best handled by referencing the new recipes from rewrite-jenkins/src/main/resources/META-INF/rewrite/rewrite.yml Lines 17 to 23 in 23f0e74
|
And the last PR has made it in, such that this work can now leverage those recipes when you depend on rewrite-migrate-java: |
Java 7 and prior had time libraries that were inadequate. The
joda-time
library was created to provide better ways of handling time. Thejoda-time
library was used as the design basis for the JSR 310 time libraries. Use ofjoda-time
should be replaced by calls to the JSR 310 time classes and methods. To identify sources with the issue, do a search in all project files for the patternorg.joda.time
. See Stephen Colebourne’s 2014 blog post that describes the transition process fromjoda-time
to JSR 310.The text was updated successfully, but these errors were encountered: