From oak-dev-return-3362-apmail-jackrabbit-oak-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Thu Jan 31 11:52:12 2013 Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF600E1DF for ; Thu, 31 Jan 2013 11:52:11 +0000 (UTC) Received: (qmail 95558 invoked by uid 500); 31 Jan 2013 11:52:11 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 95372 invoked by uid 500); 31 Jan 2013 11:52:07 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 95343 invoked by uid 99); 31 Jan 2013 11:52:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 11:52:06 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.219.51 as permitted sender) Received: from [209.85.219.51] (HELO mail-oa0-f51.google.com) (209.85.219.51) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2013 11:51:59 +0000 Received: by mail-oa0-f51.google.com with SMTP id h2so726843oag.24 for ; Thu, 31 Jan 2013 03:51:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=KAh9mEdkc8mJOqma2+nFjCsRNeoSFQnF6z1Th6Ksasw=; b=ydbcJpECzuXsWZeNfmBjIpExlM5Of+rqmSRd3lAasAOJFqrtHz7hazCtMOoWJ2tZJk buk3Q6e5QTgn6OOG/1nUjguh1anttK8liYe7N2l63ZS4ZRcn7oSefEEP7d5ERAIjN8ku ILL8w1IX1G/HmJO3OhIvYdivdtvPaYkW8kexH05bfJJ1V9I5MCS/WhNyVawq+xIfBMxV 8bbLfq21nZnCAjJ1zigDKLxOgvAGuc7ljwHN6uGV0+IHslqlEEOxoN5fYS1U0szX5HqY Tpak525xJC5CAVTJS4WfiojDRrrE/tysdXau8zUPZrMtWR9+3MAzkiizb3REGly2/36N 45jA== X-Received: by 10.182.207.70 with SMTP id lu6mr6040993obc.78.1359633099331; Thu, 31 Jan 2013 03:51:39 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.96.134 with HTTP; Thu, 31 Jan 2013 03:51:19 -0800 (PST) In-Reply-To: <510A4BD8.6000409@adobe.com> References: <20130130173339.4EA1323889DE@eris.apache.org> <510A4A4E.3090303@apache.org> <510A4BD8.6000409@adobe.com> From: Jukka Zitting Date: Thu, 31 Jan 2013 13:51:19 +0200 Message-ID: Subject: Re: svn commit: r1440540 [1/2] - in /jackrabbit/oak/trunk: oak-core/src/main/java/org/apache/jackrabbit/oak/core/ oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/ oak-core/src/main/java/org/apache/jackrabbit/oak/security/authori... To: Oak devs Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Thu, Jan 31, 2013 at 12:47 PM, Angela Schreiber wrote: > [...] i will heavily use ReadOnlyTree#getPath [...] Why? The way I see it, almost all of our features should be possible to implement by recursively looking down, not up, the content tree, and thus there should be few places where the path (or the parent) of a node is not already known when it's needed. BR, Jukka Zitting