Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2413

Found one unresolved task: DeduplicationVisitor "swap inner classes for lambdas when we are on java 8"

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.M2
    • Core Library
    • None

    Description

      We found this task where the condition satisfied but action was not taken:

      cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/DeduplicationVisitor.java:43

      // TODO: swap inner classes for lambdas when we are on java 8

       

      • The trigger: "when we are on java 8" happened around commit <b332610abdc3e4f0ec7743982c6f3c84b3436dde> (Aug 18 2017).
      • But the action: "swap inner classes for lambdas" never happened since then.
      • What need to be done: replace the inner classes, mostly
        new Predicate(){...}

        with lambdas introduced in Java 8.

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            prodigysov Pengyu Nie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: