vgritsenko 2003/07/02 18:43:31
Modified: src/java/org/apache/cocoon/components/treeprocessor
TreeProcessor.java
Log:
nitpicking
Revision Changes Path
1.2 +3 -3
cocoon-2.0/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java
Index: TreeProcessor.java
===================================================================
RCS file:
/home/cvs/cocoon-2.0/src/java/org/apache/cocoon/components/treeprocessor/TreeProcessor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TreeProcessor.java 9 Mar 2003 00:02:38 -0000 1.1
+++ TreeProcessor.java 3 Jul 2003 01:43:31 -0000 1.2
@@ -245,11 +245,11 @@
// Read the builtin languages definition file
Configuration builtin;
-
try {
URLFactory factory =
(URLFactory)this.manager.lookup(URLFactory.ROLE);
- URLSource source = new URLSource(factory.getURL(xconfURL),
this.manager);
+ URLSource source = null;
try {
+ source = new URLSource(factory.getURL(xconfURL),
this.manager);
SAXConfigurationHandler handler = new
SAXConfigurationHandler();
source.toSAX(handler);
builtin = handler.getConfiguration();