cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/qdox/java/org/apache/cocoon/components/source/impl QDoxSource.java
Date Thu, 29 Apr 2004 11:26:42 GMT
cziegeler    2004/04/29 04:26:42

  Modified:    src/blocks/qdox/java/org/apache/cocoon/components/source/impl
                        QDoxSource.java
  Log:
  Don't use deprecated methods
  
  Revision  Changes    Path
  1.9       +4 -4      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- QDoxSource.java	3 Apr 2004 00:46:33 -0000	1.8
  +++ QDoxSource.java	29 Apr 2004 11:26:42 -0000	1.9
  @@ -584,7 +584,7 @@
                       break;
   
                   case INNERCLASS_INHERITANCE :
  -                    result = superClass.getClasses().length > 0;
  +                    result = superClass.getInnerClasses().length > 0;
                       break;
   
                   case FIELD_INHERITANCE :
  @@ -680,7 +680,7 @@
        */
       private JavaClass getJavadocInnerClass(JavaClass jClass, String className) {
           if (jClass != null) {
  -            JavaClass[] classes = jClass.getClasses();
  +            JavaClass[] classes = jClass.getInnerClasses();
   
               for (int i=0; i<classes.length; i++) {
                   if (classes[i].getName().equals(className)) {
  @@ -872,7 +872,7 @@
        * @param detailed
        */
       private void outputInnerClasses(ContentHandler handler, JavaClass jClass, boolean detailed)
throws SAXException {
  -        JavaClass[] innerClasses = jClass.getClasses();
  +        JavaClass[] innerClasses = jClass.getInnerClasses();
           if (innerClasses.length > 0 || hasInheritance(jClass, INNERCLASS_INHERITANCE))
{
               if (detailed) {
                   saxStartElement(handler, INNERCLASSES_ELEMENT);
  
  
  

Mime
View raw message