Uploaded image for project: 'Click'
  1. Click
  2. CLK-441

ClickUtils toLabel should return empty Sting for null values instead of throwing exception

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5 M3
    • 1.5 RC1
    • core
    • None

    Description

      When invoking ClickUtils#toLabel it throws an IllegalArgumentException if the argument is null. This was fine 1.4 branch where Controls always had a name defined.

      In 1.5 it is possible not to set the name so #toLabel should instead return an empty String instead of exception.

      Attachments

        Activity

          People

            sabob Bob Schellink
            sabob Bob Schellink
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: