Branch: refs/heads/master Home: https://github.com/jenkinsci/jenkins Commit: 16aa06a6e6a0f15e60a0703a5de2cd57705c6b07 https://github.com/jenkinsci/jenkins/commit/16aa06a6e6a0f15e60a0703a5de2cd57705c6b07 Author: James Nord <jtn...@users.noreply.github.com> Date: 2021-03-28 (Sun, 28 Mar 2021)
Changed paths: M core/src/main/java/hudson/DescriptorExtensionList.java Log Message: ----------- fix non compilable code on eclipse compiler (#5375) legacyDescriptors has no idea what type of Descriptor it has and is using a raw Descrriptor. legacyDescriptors.computeIfAbsent can then only return keys of the type that are in the map - and this is a raw type - so no generic is possible in the return of getLegacyDescriptors() fixes the eclipse error -> Type mismatch: cannot convert from CopyOnWriteArrayList<ExtensionComponent<Descriptor>> to CopyOnWriteArrayList<ExtensionComponent<Descriptor<T>>> -- 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/a24c50-16aa06%40github.com.