Skip to content

I20260323-1800

@laeubi laeubi tagged this 23 Mar 13:16
Replace the verbose Boolean.TRUE.toString().equals(selected) pattern with
the simpler Boolean.parseBoolean(selected) in FeatureOptionsTab and
ProductExportWizardPage. Also simplify the ternary expressions:
  selected == null ? true : Boolean.TRUE.toString().equals(selected)
becomes:
  selected == null || Boolean.parseBoolean(selected)

This is consistent with adjacent ExportOptionsTab which already uses
Boolean.parseBoolean() for the same purpose.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Assets 2
Loading