Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 0f0d81b306c6452621f29bd3b0493662e12ef009 https://github.com/jenkinsci/jenkins/commit/0f0d81b306c6452621f29bd3b0493662e12ef009 Author: Vincent Latombe <vinc...@latombe.net> Date: 2023-12-05 (Tue, 05 Dec 2023)
Changed paths: M core/src/main/java/hudson/ExtensionList.java M test/src/test/java/lib/form/OptionTest.java Log Message: ----------- Add `ExtensionList.lookupFirst` convenience method. (#8735) * Add `ExtensionList.lookupFirst` convenience method. When introducing an extension point that is meant to allow overriding a default behaviour with another implementation, generally the caller only cares about looking up only one implementation, the one with the highest ordinal. * Fix javadoc Co-authored-by: Jesse Glick <jgl...@cloudbees.com> --------- Co-authored-by: Jesse Glick <jgl...@cloudbees.com> -- 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/jenkins/push/refs/heads/master/62d22f-0f0d81%40github.com.