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 0A03B200B7C for ; Wed, 3 Aug 2016 11:59:24 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 08BAE160A86; Wed, 3 Aug 2016 09:59:24 +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 ED69B160AB6 for ; Wed, 3 Aug 2016 11:59:22 +0200 (CEST) Received: (qmail 77436 invoked by uid 500); 3 Aug 2016 09:59:22 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 76978 invoked by uid 99); 3 Aug 2016 09:59:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2016 09:59:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CF1642C0E09 for ; Wed, 3 Aug 2016 09:59:21 +0000 (UTC) Date: Wed, 3 Aug 2016 09:59:21 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (IGNITE-3611) IGFS: Merge listPaths and listFiles operations. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 03 Aug 2016 09:59:24 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vladimir Ozerov updated IGNITE-3611: ------------------------------------ Fix Version/s: (was: 1.7) 1.8 > IGFS: Merge listPaths and listFiles operations. > ----------------------------------------------- > > Key: IGNITE-3611 > URL: https://issues.apache.org/jira/browse/IGNITE-3611 > Project: Ignite > Issue Type: Task > Components: IGFS > Affects Versions: 1.6 > Reporter: Vladimir Ozerov > Priority: Minor > Fix For: 1.8 > > > There are two methods doing almost the same thing: > 1) {{listPath}} - return all paths in the directory; > 2) {{listFiles}} - return all infos in the directory. > But both operations achieve their goals through almost similar code pieces indicating obvious code duplication. > We need to refactor both methods so that they use shared code base. -- This message was sent by Atlassian JIRA (v6.3.4#6332)