Return-Path: Delivered-To: apmail-jackrabbit-commits-archive@www.apache.org Received: (qmail 4509 invoked from network); 16 Feb 2007 14:58:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Feb 2007 14:58:25 -0000 Received: (qmail 83697 invoked by uid 500); 16 Feb 2007 14:58:23 -0000 Delivered-To: apmail-jackrabbit-commits-archive@jackrabbit.apache.org Received: (qmail 83664 invoked by uid 500); 16 Feb 2007 14:58:22 -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 83629 invoked by uid 99); 16 Feb 2007 14:58:22 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Feb 2007 06:58:22 -0800 X-ASF-Spam-Status: No, hits=-9.4 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; Fri, 16 Feb 2007 06:58:14 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 3970C1A981C; Fri, 16 Feb 2007 06:57:54 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r508433 - /jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java Date: Fri, 16 Feb 2007 14:57:54 -0000 To: commits@jackrabbit.apache.org From: angela@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070216145754.3970C1A981C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: angela Date: Fri Feb 16 06:57:53 2007 New Revision: 508433 URL: http://svn.apache.org/viewvc?view=rev&rev=508433 Log: #0000 - remove redundant cast Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java Modified: jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java URL: http://svn.apache.org/viewvc/jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java?view=diff&rev=508433&r1=508432&r2=508433 ============================================================================== --- jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java (original) +++ jackrabbit/trunk/contrib/spi/jcr2spi/src/main/java/org/apache/jackrabbit/jcr2spi/state/TransientISFactory.java Fri Feb 16 06:57:53 2007 @@ -81,7 +81,7 @@ */ public NodeState createRootState(NodeEntry entry) throws ItemStateException { // retrieve state to overlay - NodeState overlayedState = (NodeState) workspaceStateFactory.createRootState(entry); + NodeState overlayedState = workspaceStateFactory.createRootState(entry); return buildNodeState(overlayedState, Status.EXISTING); } @@ -92,7 +92,7 @@ public NodeState createNodeState(NodeId nodeId, NodeEntry entry) throws NoSuchItemStateException, ItemStateException { // retrieve state to overlay - NodeState overlayedState = (NodeState) workspaceStateFactory.createNodeState(nodeId, entry); + NodeState overlayedState = workspaceStateFactory.createNodeState(nodeId, entry); return buildNodeState(overlayedState, getInitialStatus(entry.getParent())); } @@ -101,7 +101,7 @@ * @see ItemStateFactory#createDeepNodeState(NodeId, NodeEntry) */ public NodeState createDeepNodeState(NodeId nodeId, NodeEntry anyParent) throws NoSuchItemStateException, ItemStateException { - NodeState overlayedState = (NodeState) workspaceStateFactory.createDeepNodeState(nodeId, anyParent); + NodeState overlayedState = workspaceStateFactory.createDeepNodeState(nodeId, anyParent); return buildNodeState(overlayedState, getInitialStatus(anyParent)); } @@ -113,7 +113,7 @@ PropertyEntry entry) throws NoSuchItemStateException, ItemStateException { // retrieve state to overlay - PropertyState overlayedState = (PropertyState) workspaceStateFactory.createPropertyState(propertyId, entry); + PropertyState overlayedState = workspaceStateFactory.createPropertyState(propertyId, entry); return buildPropertyState(overlayedState, getInitialStatus(entry.getParent())); } @@ -121,7 +121,7 @@ * @see ItemStateFactory#createDeepPropertyState(PropertyId, NodeEntry) */ public PropertyState createDeepPropertyState(PropertyId propertyId, NodeEntry anyParent) throws NoSuchItemStateException, ItemStateException { - PropertyState overlayedState = (PropertyState) workspaceStateFactory.createDeepPropertyState(propertyId, anyParent); + PropertyState overlayedState = workspaceStateFactory.createDeepPropertyState(propertyId, anyParent); return buildPropertyState(overlayedState, getInitialStatus(anyParent)); }