Uploaded image for project: 'OptaPlanner'
  1. OptaPlanner
  2. PLANNER-2259

CS: all Joiners primary javadocs must have an example

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Minor Minor
    • 8.3.0.Final
    • None
    • optaplanner-core
    • None

      Joiners.equal(mapping) can be confused for calling Joiners.equal(Function.identity, mapping) (while it calls Joiners.equal(mapping, mapping) instead).

      An example in the javadocs will avoid such pitfalls/confusion. (Similar to how it was done for Collectors.)

            lpetrovi@redhat.com Lukáš Petrovický (Inactive)
            gdesmet@redhat.com Geoffrey De Smet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: