You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Roger Whitcomb (JIRA)" <ji...@apache.org> on 2019/08/13 23:08:00 UTC

[jira] [Commented] (PIVOT-999) Update code to take advantage of Java 8 features

    [ https://issues.apache.org/jira/browse/PIVOT-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16906702#comment-16906702 ] 

Roger Whitcomb commented on PIVOT-999:
--------------------------------------

Tweak BeanAdapter to use generic "putAll" method in Dictionary, add test:

Sending core\src\org\apache\pivot\beans\BeanAdapter.java
Sending core\test\org\apache\pivot\beans\test\BeanAdapterTest.java
Transmitting file data ..done
Committing transaction...
Committed revision 1865079.

> Update code to take advantage of Java 8 features
> ------------------------------------------------
>
>                 Key: PIVOT-999
>                 URL: https://issues.apache.org/jira/browse/PIVOT-999
>             Project: Pivot
>          Issue Type: New Feature
>          Components: all
>    Affects Versions: 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Major
>             Fix For: 2.1
>
>
> Some features that we could potentially use include:
> * default methods in interfaces to extend features while maintaining backward compatibility
> * lambdas for such things as callbacks
> * really use functional interfaces (already kind of present, but not really used)
> * "forEach" in many places for Iterable collections



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)