From dev-return-19617-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Mon Aug 04 20:07:07 2008 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 22537 invoked from network); 4 Aug 2008 20:07:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Aug 2008 20:07:07 -0000 Received: (qmail 57189 invoked by uid 500); 4 Aug 2008 20:07:05 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 57159 invoked by uid 500); 4 Aug 2008 20:07:05 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 57148 invoked by uid 99); 4 Aug 2008 20:07:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 13:07:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2008 20:06:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 02F3B234C185 for ; Mon, 4 Aug 2008 13:06:46 -0700 (PDT) Message-ID: <1760281156.1217880406000.JavaMail.jira@brutus> Date: Mon, 4 Aug 2008 13:06:45 -0700 (PDT) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1706) Fix unexpected behavior of Text.getName() In-Reply-To: <1253028727.1217880284253.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCR-1706: ---------------------------------- Attachment: jcr1706.r682409.patch > Fix unexpected behavior of Text.getName() > ----------------------------------------- > > Key: JCR-1706 > URL: https://issues.apache.org/jira/browse/JCR-1706 > Project: Jackrabbit > Issue Type: Bug > Components: jackrabbit-jcr-commons > Reporter: Tobias Bocanegra > Assignee: Tobias Bocanegra > Attachments: jcr1706.r682409.patch > > > Text.getName() and variants does return an empty string, if the given path is already a name. eg: > Text.getName("foo") returns "" and not "foo" as one would expect for relative paths. > suggest to change this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.