el-spec
  1. el-spec
  2. EL_SPEC-5

Collections defaultIfEmpty operator does not exist

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      N/A

      Description

      There appears to be no code for defaultIfEmpty operator.

      products.orderByDescending(p->p.unitPrice).elementAtOrDefault(3).defaultIfEmpty()
      ERROR: Exception at:
      ERROR: javax.el.MethodNotFoundException:

        Activity

        dougd created issue -
        Hide
        kchung added a comment -

        Fixed

        Show
        kchung added a comment - Fixed
        kchung made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            dougd
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: