Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.