cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/qdox/java/org/apache/cocoon/components/source/impl QDoxSource.java
Date Sun, 29 Feb 2004 05:29:09 GMT
antonio     2004/02/28 21:29:09

  Modified:    src/blocks/qdox/java/org/apache/cocoon/components/source/impl
                        QDoxSource.java
  Log:
  Fixing qdox protocol. Samples work again.
  
  Revision  Changes    Path
  1.5       +2 -3      cocoon-2.1/src/blocks/qdox/java/org/apache/cocoon/components/source/impl/QDoxSource.java
  
  Index: QDoxSource.java
  ===================================================================
  RCS file: /home/cvs//cocoon-2.1/src/blocks/qdox/java/org/apache/cocoon/components/source/impl/QDoxSource.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- QDoxSource.java	25 Oct 2003 18:06:19 -0000	1.4
  +++ QDoxSource.java	29 Feb 2004 05:29:09 -0000	1.5
  @@ -237,7 +237,6 @@
       public void toSAX(ContentHandler handler) throws SAXException {
           if (javadocClass == null) {
               logger.error("No classfile loaded! Cannot output SAX events.");
  -
               return;
           }
   
  @@ -752,7 +751,7 @@
   
           try {
               resolver = (SourceResolver) manager.lookup(SourceResolver.ROLE);
  -            Source source = resolver.resolveURI("javadoc:" + className);
  +            Source source = resolver.resolveURI("qdox:" + className);
               if (source instanceof QDoxSource) {
                   QDoxSource javadocSource = (QDoxSource) source;
                   jClass = javadocSource.getJavadocClass();
  
  
  

Mime
View raw message