You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a command with a non-required array parameter:
@Parameter(label = "Select Bvv Windows to synchronize", required = false)
BvvHandle[] bvvhs;
Before, when nothing was set, bvvhs was returned as a null object. Now, when bvvhs is not set, the parameter is set to an array of size 1, with the element being a null object.
It's a change of behaviour which breaks a few things in my code. It's probably manageable, but the current behaviour needs to be changed:
return null is fine, returning an empty array is probably also fine, but returning a one-element array with null inside do not look good.
FYI, I checked in the prefs how the parameter is remembered, and this is how it looks: