bloritsch 01/06/19 08:50:10
Modified: src/org/apache/cocoon/components/language/generator
GeneratorSelector.java
Log:
Fixed error where compiled sub sitemaps would not work if in repository already
Revision Changes Path
1.3 +0 -9
xml-cocoon2/src/org/apache/cocoon/components/language/generator/GeneratorSelector.java
Index: GeneratorSelector.java
===================================================================
RCS file:
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/generator/GeneratorSelector.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- GeneratorSelector.java 2001/06/08 20:28:14 1.2
+++ GeneratorSelector.java 2001/06/19 15:50:06 1.3
@@ -30,7 +30,7 @@
* includes Sitemaps and XSP Pages
*
* @author <a href="mailto:[EMAIL PROTECTED]">Berin Loritsch</a>
- * @version CVS $Revision: 1.2 $ $Date: 2001/06/08 20:28:14 $
+ * @version CVS $Revision: 1.3 $ $Date: 2001/06/19 15:50:06 $
*/
public class GeneratorSelector extends ExcaliburComponentSelector implements
Disposable {
private ClassLoaderManager classManager;
@@ -78,15 +78,6 @@
// if it isn't loaded, it may already be compiled...
try {
ComponentHandler handler = (ComponentHandler)
this.componentHandlers.get(hint);
-
- if (handler == null) {
- this.addGenerator(hint);
- handler = (ComponentHandler) this.componentHandlers.get(hint);
-
- if (handler == null) {
- throw new ComponentException("Could not find component for
hint: " + hint);
- }
- }
return (Component) handler.get();
} catch (Exception ce) {
----------------------------------------------------------------------
In case of troubles, e-mail: [EMAIL PROTECTED]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]