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"

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.M2
    • Component/s: Core Library
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: