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

ASF subversion and git services commented on NIFI-1762:
-------------------------------------------------------

Commit b59d3ece75c3ea8eb0df1ff4827308412b967044 in nifi's branch 
refs/heads/master from [~markap14]
[ https://git-wip-us.apache.org/repos/asf?p=nifi.git;h=b59d3ec ]

NIFI-1762: Changed Java dependency to 1.8 instead of 1.7 and refactored 
StandardNiFiServiceFacade to make use of Lambda expressions to simplify code 
base. Also had to address a unit test because changing to Java 8 results in 
calls to assertEquals to become ambiguous. This closes #352


> Simplify revision management that happens in StandardNiFiServiceFacade
> ----------------------------------------------------------------------
>
>                 Key: NIFI-1762
>                 URL: https://issues.apache.org/jira/browse/NIFI-1762
>             Project: Apache NiFi
>          Issue Type: Improvement
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>             Fix For: 1.0.0
>
>
> Currently, StandardNiFiServiceFacade has a huge amount of repetitive code to 
> ensure that changes to the flow occur always with the appropriate revision 
> and that the revision is updated appropriately.
> However, this is very tedious and prone to copy/paste errors and requires 
> updating the code in many places if something changes.
> With NiFi 1.0 depending on Java 8, we can make use of Java's Lambda functions 
> in order to dramatically simplify the code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to