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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: