You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by bl...@apache.org on 2001/06/19 17:49:23 UTC
cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/generator GeneratorSelector.java
bloritsch 01/06/19 08:49:23
Modified: src/org/apache/cocoon/components/language/generator Tag:
cocoon_20_branch GeneratorSelector.java
Log:
Fixed error where compiled sub sitemaps would not work if in repository already
Revision Changes Path
No revision
No revision
1.1.1.1.2.3 +1 -10 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.1.1.1.2.2
retrieving revision 1.1.1.1.2.3
diff -u -r1.1.1.1.2.2 -r1.1.1.1.2.3
--- GeneratorSelector.java 2001/06/08 15:38:27 1.1.1.1.2.2
+++ GeneratorSelector.java 2001/06/19 15:49:19 1.1.1.1.2.3
@@ -30,7 +30,7 @@
* includes Sitemaps and XSP Pages
*
* @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
- * @version CVS $Revision: 1.1.1.1.2.2 $ $Date: 2001/06/08 15:38:27 $
+ * @version CVS $Revision: 1.1.1.1.2.3 $ $Date: 2001/06/19 15:49:19 $
*/
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: webmaster@xml.apache.org
To unsubscribe, e-mail: cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org