cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2413) Found one unresolved task: DeduplicationVisitor "swap inner classes for lambdas when we are on java 8"
Date Wed, 07 Mar 2018 12:08:00 GMT

     [ https://issues.apache.org/jira/browse/CAY-2413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikita Timofeev closed CAY-2413.
--------------------------------
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.1.M2

Thank you for the reminder!

> Found one unresolved task: DeduplicationVisitor "swap inner classes for lambdas when
we are on java 8"
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CAY-2413
>                 URL: https://issues.apache.org/jira/browse/CAY-2413
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Core Library
>            Reporter: Pengyu Nie
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.1.M2
>
>
> We're working on a technique to automatically detecting unresolved
> trigger-action todo comments in codebase. Here is what we found in
> this project:
> cayenne-dbsync/src/main/java/org/apache/cayenne/dbsync/naming/DeduplicationVisitor.java:43
> {code:java}
> // TODO: swap inner classes for lambdas when we are on java 8{code}
>  
> - 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 {code:java}new Predicate(){...}{code}
>   with lambdas introduced in Java 8.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message