Skip to content

Y20260118-2300

@iloveeclipse iloveeclipse tagged this 18 Jan 15:53
Compiler warnings:

1) Varargs methods should only override or be overridden by other
varargs methods unlike
StringVariableSelectionDialog.setListElements(Object[]) and
AbstractElementListSelectionDialog.setListElements(Object...)

2) Type IStringVariable[] of the last argument to method
setListElements(Object...) doesn't exactly match the vararg parameter
type. Cast to Object[] to confirm the non-varargs invocation, or pass
individual arguments of type Object for a varargs invocation.

Side effect of the signature change in
org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.setListElements(Object...)

See https://github.com/eclipse-platform/eclipse.platform.ui/commit/647256df2f719b25f25a7565d08fb01834b52ed6
/ https://github.com/eclipse-platform/eclipse.platform.ui/pull/3675
Assets 2
Loading