Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 74924 invoked from network); 6 Mar 2007 15:44:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2007 15:44:50 -0000 Received: (qmail 65322 invoked by uid 500); 6 Mar 2007 15:44:58 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 65296 invoked by uid 500); 6 Mar 2007 15:44:58 -0000 Mailing-List: contact commits-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 commits@jackrabbit.apache.org Received: (qmail 65287 invoked by uid 99); 6 Mar 2007 15:44:58 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 07:44:58 -0800 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Mar 2007 07:44:49 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id ECF901A9838; Tue, 6 Mar 2007 07:44:28 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r515160 - /jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java Date: Tue, 06 Mar 2007 15:44:28 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070306154428.ECF901A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: angela Date: Tue Mar 6 07:44:28 2007 New Revision: 515160 URL: http://svn.apache.org/viewvc?view=rev&rev=515160 Log: fix indention Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java?view=diff&rev=515160&r1=515159&r2=515160 ============================================================================== --- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java (original) +++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/PropertyImpl.java Tue Mar 6 07:44:28 2007 @@ -205,7 +205,7 @@ * @see Property#setValue(long) */ public void setValue(long value) throws ValueFormatException, VersionException, LockException, RepositoryException { - checkIsWritable(false); + checkIsWritable(false); int reqType = getRequiredType(PropertyType.LONG); setValue(session.getValueFactory().createValue(value), reqType); } @@ -214,7 +214,7 @@ * @see Property#setValue(double) */ public void setValue(double value) throws ValueFormatException, VersionException, LockException, RepositoryException { - checkIsWritable(false); + checkIsWritable(false); int reqType = getRequiredType(PropertyType.DOUBLE); setValue(session.getValueFactory().createValue(value), reqType); } @@ -223,7 +223,7 @@ * @see Property#setValue(Calendar) */ public void setValue(Calendar value) throws ValueFormatException, VersionException, LockException, RepositoryException { - checkIsWritable(false); + checkIsWritable(false); int reqType = getRequiredType(PropertyType.DATE); if (value == null) { setInternalValues(null, reqType); @@ -236,7 +236,7 @@ * @see Property#setValue(boolean) */ public void setValue(boolean value) throws ValueFormatException, VersionException, LockException, ConstraintViolationException, RepositoryException { - checkIsWritable(false); + checkIsWritable(false); int reqType = getRequiredType(PropertyType.BOOLEAN); setValue(session.getValueFactory().createValue(value), reqType); } @@ -245,7 +245,7 @@ * @see Property#setValue(Node) */ public void setValue(Node value) throws ValueFormatException, VersionException, LockException, RepositoryException { - checkIsWritable(false); + checkIsWritable(false); int reqType = getRequiredType(PropertyType.REFERENCE); if (value == null) { setInternalValues(null, reqType); @@ -385,8 +385,8 @@ * @see javax.jcr.Property#getType() */ public int getType() throws RepositoryException { - checkStatus(); - return getPropertyState().getType(); + checkStatus(); + return getPropertyState().getType(); } //-----------------------------------------------------------< ItemImpl >--- @@ -423,7 +423,7 @@ * @return true if the definition indicates that this Property is multivalued. */ private boolean isMultiple() { - return getPropertyState().isMultiValued(); + return getPropertyState().isMultiValued(); } /**