Return-Path: X-Original-To: apmail-chemistry-commits-archive@www.apache.org Delivered-To: apmail-chemistry-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 189EA7846 for ; Tue, 26 Jul 2011 20:36:18 +0000 (UTC) Received: (qmail 91734 invoked by uid 500); 26 Jul 2011 20:36:18 -0000 Delivered-To: apmail-chemistry-commits-archive@chemistry.apache.org Received: (qmail 91681 invoked by uid 500); 26 Jul 2011 20:36:17 -0000 Mailing-List: contact commits-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list commits@chemistry.apache.org Received: (qmail 91669 invoked by uid 99); 26 Jul 2011 20:36:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 20:36:16 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jul 2011 20:36:15 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 9B72B23889ED; Tue, 26 Jul 2011 20:35:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1151230 - /chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java Date: Tue, 26 Jul 2011 20:35:55 -0000 To: commits@chemistry.apache.org From: fmui@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110726203555.9B72B23889ED@eris.apache.org> Author: fmui Date: Tue Jul 26 20:35:54 2011 New Revision: 1151230 URL: http://svn.apache.org/viewvc?rev=1151230&view=rev Log: removed unused method from AbstractCmisService Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java Modified: chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java URL: http://svn.apache.org/viewvc/chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java?rev=1151230&r1=1151229&r2=1151230&view=diff ============================================================================== --- chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java (original) +++ chemistry/opencmis/trunk/chemistry-opencmis-commons/chemistry-opencmis-commons-impl/src/main/java/org/apache/chemistry/opencmis/commons/impl/server/AbstractCmisService.java Tue Jul 26 20:35:54 2011 @@ -912,41 +912,6 @@ public abstract class AbstractCmisServic } /** - * Gets the {@link ObjectInfo} about an object, checking the cache first. - * - * @param repositoryId - * the repository id - * @param object - * the object - * @return the object info - */ - protected ObjectInfo getObjectInfo(String repositoryId, ObjectData object) { - Map oim = getObjectInfoMap(); - ObjectInfo info = oim.get(object.getId()); - if (info == null) { - try { - // switch off object info collection to avoid side effects - addObjectInfos = false; - - // get the object info - info = getObjectInfoIntern(repositoryId, object); - - // switch on object info collection - addObjectInfos = true; - - // add object info - addObjectInfo(info); - } catch (Exception e) { - e.printStackTrace(); - info = null; - } finally { - addObjectInfos = true; - } - } - return info; - } - - /** * Collects the {@link ObjectInfo} about an object. * * @param repositoryId