|
|
Choosing A Webhost: |
svn commit: r219034 - /lenya/trunk/src/webapp/lenya/pubs/default/java/src/o: msg#00064cms.lenya.cvs
Author: andreas Date: Thu Jul 14 05:22:07 2005 New Revision: 219034 URL: http://svn.apache.org/viewcvs?rev=219034&view=rev Log: [minor change] removed unused code Modified: lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java Modified: lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java URL: http://svn.apache.org/viewcvs/lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java?rev=219034&r1=219033&r2=219034&view=diff ============================================================================== --- lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java (original) +++ lenya/trunk/src/webapp/lenya/pubs/default/java/src/org/apache/lenya/defaultpub/cms/usecases/webdav/FilePropfind.java Thu Jul 14 05:22:07 2005 @@ -20,19 +20,16 @@ import java.text.SimpleDateFormat; import java.util.Vector; -import org.apache.avalon.framework.service.ServiceSelector; +import org.apache.lenya.cms.publication.Document; +import org.apache.lenya.cms.publication.Publication; +import org.apache.lenya.cms.publication.PublicationException; +import org.apache.lenya.cms.publication.PublicationFactory; +import org.apache.lenya.cms.publication.URLInformation; import org.apache.lenya.cms.rc.RCEnvironment; import org.apache.lenya.cms.rc.RCML; import org.apache.lenya.cms.rc.RCMLEntry; import org.apache.lenya.cms.rc.RevisionController; -import org.apache.lenya.cms.site.SiteManager; import org.apache.lenya.cms.site.usecases.SiteUsecase; -import org.apache.lenya.cms.publication.Document; -import org.apache.lenya.cms.publication.Publication; -import org.apache.lenya.cms.publication.PublicationFactory; -import org.apache.lenya.cms.publication.PublicationException; -import org.apache.lenya.cms.publication.URLInformation; -import org.apache.lenya.cms.publication.DocumentBuilder; /** * Usecase to display the overview tab in the site area for a document. @@ -55,9 +52,6 @@ Publication _publication = this.getPublication(); - ServiceSelector selector = null; - SiteManager siteManager = null; - DocumentBuilder docBuilder = null; Vector docs = new Vector(); Vector checkedOut = new Vector(); @@ -97,14 +91,6 @@ } catch (Exception e) { throw new RuntimeException(e); - } finally { - if (selector != null) { - if (siteManager != null) { - selector.release(siteManager); - selector.release(docBuilder); - } - this.manager.release(selector); - } } }
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |