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 45AA2200B63 for ; Mon, 1 Aug 2016 08:00:29 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 444BB160AAE; Mon, 1 Aug 2016 06:00:29 +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 85AC1160A81 for ; Mon, 1 Aug 2016 08:00:28 +0200 (CEST) Received: (qmail 42030 invoked by uid 500); 1 Aug 2016 06:00:27 -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 41993 invoked by uid 99); 1 Aug 2016 06:00:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Aug 2016 06:00:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 553952C0D64 for ; Mon, 1 Aug 2016 06:00:27 +0000 (UTC) Date: Mon, 1 Aug 2016 06:00:27 +0000 (UTC) From: "Vladimir Ozerov (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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: Mon, 01 Aug 2016 06:00:29 -0000 Vladimir Ozerov created IGNITE-3611: --------------------------------------- Summary: 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.7 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)