Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 4.0.0.Milestone5
    • Fix Version/s: 4.0.0.CR1
    • Component/s: cdk
    • Labels:
      None

      Description

      When I use expression #

      {empty ""}

      on component.template.xml, CDK generate the following:

      private static boolean isEmpty(Object object)

      { return object == null; }

      and isEmpty("") = false, but it is incorrect.
      I think isEmpty method should return true when incoming string doesn't contain any characters except spaces.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexsmirnov Alexander Smirnov
                  Reporter:
                  amarkhel Andrey Markhel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: