Return-Path: X-Original-To: apmail-nifi-commits-archive@minotaur.apache.org Delivered-To: apmail-nifi-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9AA6219BA7 for ; Thu, 14 Apr 2016 14:41:31 +0000 (UTC) Received: (qmail 13967 invoked by uid 500); 14 Apr 2016 14:41:25 -0000 Delivered-To: apmail-nifi-commits-archive@nifi.apache.org Received: (qmail 13928 invoked by uid 500); 14 Apr 2016 14:41:25 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 13900 invoked by uid 99); 14 Apr 2016 14:41:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 14:41:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id A70E42C1F69 for ; Thu, 14 Apr 2016 14:41:25 +0000 (UTC) Date: Thu, 14 Apr 2016 14:41:25 +0000 (UTC) From: "Matt Gilman (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (NIFI-1762) Simplify revision management that happens in StandardNiFiServiceFacade MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NIFI-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matt Gilman resolved NIFI-1762. ------------------------------- Resolution: Fixed > 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)