Branch: refs/heads/main Home: https://github.com/jenkinsci/file-operations-plugin Commit: a634452d017b9fbe7f2f1cb28dcb8b55ae62cfba https://github.com/jenkinsci/file-operations-plugin/commit/a634452d017b9fbe7f2f1cb28dcb8b55ae62cfba Author: Mark Waite <mark.earl.wa...@gmail.com> Date: 2024-05-07 (Tue, 07 May 2024)
Changed paths: M src/main/java/sp/sd/fileoperations/FileOperationsBuilder.java Log Message: ----------- Replace JSR-305 annotations with spotbugs annotations Annotations for Nonnull, CheckForNull, and several others were proposed for Java as part of dormant Java specification request JSR-305. The proposal never became a part of standard Java. Jenkins plugins should switch from using JSR-305 annotations to use Spotbugs annotations that provide the same semantics. The [mailing list discussion](https://groups.google.com/g/jenkinsci-dev/c/uE1wwtVi1W0/m/gLxdEJmlBQAJ) from James Nord describes the affected annotations and why they should be replaced with annotations that are actively maintained. The ["Improve a plugin" tutorial](https://www.jenkins.io/doc/developer/tutorial-improve/replace-jsr-305-annotations/) provides instructions to perform this change. An [OpenRewrite recipe](https://docs.openrewrite.org/recipes/jenkins/javaxannotationstospotbugs) is also available and is even better than the tutorial. Confirmed that automated tests pass on Linux with Java 21. Commit: 42efcbfc4e507f6310e55dcd06785968d1f9568e https://github.com/jenkinsci/file-operations-plugin/commit/42efcbfc4e507f6310e55dcd06785968d1f9568e Author: Valentin Delaye <jonesb...@users.noreply.github.com> Date: 2024-05-08 (Wed, 08 May 2024) Changed paths: M src/main/java/sp/sd/fileoperations/FileOperationsBuilder.java Log Message: ----------- Merge pull request #96 from MarkEWaite/fix-jsr-305 Replace JSR-305 annotations with spotbugs annotations Compare: https://github.com/jenkinsci/file-operations-plugin/compare/fb0f8f2b025f...42efcbfc4e50 To unsubscribe from these emails, change your notification settings at https://github.com/jenkinsci/file-operations-plugin/settings/notifications -- You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/file-operations-plugin/push/refs/heads/main/fb0f8f-42efcb%40github.com.