Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 15621 invoked from network); 26 Oct 2007 17:52:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 17:52:35 -0000 Received: (qmail 54943 invoked by uid 500); 26 Oct 2007 17:50:59 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 54920 invoked by uid 500); 26 Oct 2007 17:50:59 -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 54905 invoked by uid 99); 26 Oct 2007 17:50:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 10:50:59 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 17:51:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9BCF6714233 for ; Fri, 26 Oct 2007 10:50:50 -0700 (PDT) Message-ID: <10911976.1193421050618.JavaMail.jira@brutus> Date: Fri, 26 Oct 2007 10:50:50 -0700 (PDT) From: "Julian Reschke (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Reopened: (JCR-1151) avoid converting property values to strings In-Reply-To: <21569365.1190990930578.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-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Julian Reschke reopened JCR-1151: --------------------------------- Change breaks JDK1.4 compliance. > avoid converting property values to strings > ------------------------------------------- > > Key: JCR-1151 > URL: https://issues.apache.org/jira/browse/JCR-1151 > Project: Jackrabbit > Issue Type: Improvement > Components: SPI > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Minor > > QValues currently can not expose properties of types LONG and DOUBLE in a parsed format. Thus, setting/retrieving properties of these types requires roundtripping through Strings, which we should avoid. > Proposal: > 1) Add "long getLong()" and "double getDouble()" to QValue. > 2) Add matching create methods to QValueFactory. > 3) Take advantage of the new methods in JCR2SPI, for instance by allowing it's own Value implementation to internally just hold the QValue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.