Click
  1. Click
  2. CLK-441

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

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5 M3
    • Fix Version/s: 1.5 RC1
    • Component/s: core
    • Labels:
      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.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Bob Schellink
            Reporter:
            Bob Schellink
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development