Closed krisstern closed 8 months ago
Hey @krisstern, Can I ask you why did you revert this commit?
Hi @AniketNS, as I have explained in https://github.com/jenkinsci/gitlab-plugin/pull/1614#issuecomment-1894096472, a Java Array is always of fixed size and not of dynamic size. If you fixed its length to be 0 then its sole purpose will be to serve as a zero-length array, which in most cases serve as a placeholder. In our context we want the Arrays to be of a certain length to begin with, hence the revert of the PR.
Ohh ok. Thanks for the detailed explanation @krisstern
No problem
Reverts jenkinsci/gitlab-plugin#1614