Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8B2F4200BB2 for ; Fri, 14 Oct 2016 21:15:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 88484160ADD; Fri, 14 Oct 2016 19:15:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0751D160AE3 for ; Fri, 14 Oct 2016 21:15:21 +0200 (CEST) Received: (qmail 77946 invoked by uid 500); 14 Oct 2016 19:15:21 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 77921 invoked by uid 99); 14 Oct 2016 19:15:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Oct 2016 19:15:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B22322C4C77 for ; Fri, 14 Oct 2016 19:15:20 +0000 (UTC) Date: Fri, 14 Oct 2016 19:15:20 +0000 (UTC) From: "Mariia Mykhailova (JIRA)" To: dev@reef.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (REEF-1639) Refactor RunnableProcess and move State and related logic into a separate enum MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 14 Oct 2016 19:15:22 -0000 [ https://issues.apache.org/jira/browse/REEF-1639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mariia Mykhailova resolved REEF-1639. ------------------------------------- Resolution: Fixed Fix Version/s: 0.16 Resolved via [PR 1154|https://github.com/apache/reef/pull/1154] > Refactor RunnableProcess and move State and related logic into a separate enum > ------------------------------------------------------------------------------ > > Key: REEF-1639 > URL: https://issues.apache.org/jira/browse/REEF-1639 > Project: REEF > Issue Type: Sub-task > Components: REEF Runtime Local > Reporter: Sergiy Matusevych > Assignee: Sergiy Matusevych > Priority: Minor > Labels: refactoring > Fix For: 0.16 > > Original Estimate: 2h > Remaining Estimate: 2h > > {{RunnableProcess}} mixes up the process-related logic with state management. In all other similar cases, we have {{State}} enum and related logic separated from the class that uses it. We need to do the same for {{RunnableProcess}} for better readability and manageability of the code. -- This message was sent by Atlassian JIRA (v6.3.4#6332)