mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-17 14:02:22 +00:00
fixed the type parameterization bug. This should be both binary and source compatible.
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@17107 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
45ca22c6d4
commit
e29cb4b2e4
1 file changed
+1
-1
@@ -225,7 +225,7 @@ public class DescribableList<T extends Describable<T>, D extends Descriptor<T>>
|
||||
* is allowed to create multiple instances of the same descriptor. Order is also
|
||||
* significant.
|
||||
*/
|
||||
public void rebuildHetero(StaplerRequest req, JSONObject formData, Collection<Descriptor<T>> descriptors, String key) throws FormException {
|
||||
public void rebuildHetero(StaplerRequest req, JSONObject formData, Collection<? extends Descriptor<T>> descriptors, String key) throws FormException {
|
||||
data.replaceBy(Descriptor.newInstancesFromHeteroList(req,formData,key,descriptors));
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user