Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace deprecated getPastTimeString with getTimeSpanString (#1007)
Replaced with OpenRewrite command: mvn -U org.openrewrite.maven:rewrite-maven-plugin:run \ -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE \ -Drewrite.activeRecipes=org.openrewrite.jenkins.migrate.hudson.UtilGetPastTimeStringToGetTimeSpanString jenkinsci/jenkins#4174 deprecates the API in a 2019 release of Jenkins core. https://javadoc.jenkins.io/hudson/Util.html#getPastTimeString(long) declares it deprecated.
- Loading branch information