|
|
Choosing A Webhost: |
svn commit: r512238 - /lenya/branches/trunk-rework-pubconf/src/pubs/default: msg#00154cms.lenya.cvs
Author: nettings Date: Tue Feb 27 04:42:26 2007 New Revision: 512238 URL: http://svn.apache.org/viewvc?view=rev&rev=512238 Log: slightly changed the usage of interface vs. object types, i hope this makes sense. no change in functionality. Modified: lenya/branches/trunk-rework-pubconf/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java Modified: lenya/branches/trunk-rework-pubconf/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java URL: http://svn.apache.org/viewvc/lenya/branches/trunk-rework-pubconf/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java?view=diff&rev=512238&r1=512237&r2=512238 ============================================================================== --- lenya/branches/trunk-rework-pubconf/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java (original) +++ lenya/branches/trunk-rework-pubconf/src/pubs/default/java/src/org/apache/lenya/defaultpub/cms/publication/templating/Instantiator.java Tue Feb 27 04:42:26 2007 @@ -148,8 +148,8 @@ + newPublicationId + "/config/publication.xconf"); final boolean ENABLE_XML_NAMESPACES = true; - MutableConfiguration config = - (MutableConfiguration) new DefaultConfigurationBuilder(ENABLE_XML_NAMESPACES).build(configSource.getInputStream()); + DefaultConfiguration config = + (DefaultConfiguration) new DefaultConfigurationBuilder(ENABLE_XML_NAMESPACES).build(configSource.getInputStream()); addTemplateConfiguration(template, config); removeChildren(config.getMutableChild("modules"), "module"); @@ -177,7 +177,7 @@ } } - protected void addTemplateConfiguration(Publication template, MutableConfiguration config) throws ConfigurationException { + protected void addTemplateConfiguration(Publication template, DefaultConfiguration config) throws ConfigurationException { MutableConfiguration templatesConfig = config.getMutableChild("templates", false); if (templatesConfig == null) { templatesConfig = new DefaultConfiguration("templates");
|
|
| <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 |