User: rinkrank
  Date: 02/03/18 03:09:43

  Modified:    src/xjavadoc XDoc.java XJavaDoc.java
  Log:
  -better support for coloned/dotted tag format
  -fixed some comments
  
  Revision  Changes    Path
  1.18      +4 -0      xjavadoc/src/xjavadoc/XDoc.java
  
  Index: XDoc.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/XDoc.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -w -r1.17 -r1.18
  --- XDoc.java 16 Mar 2002 20:33:59 -0000      1.17
  +++ XDoc.java 18 Mar 2002 11:09:43 -0000      1.18
  @@ -473,6 +473,10 @@
                        String dottedFormatTagName = tagName.replace(':', '.');
                        tags = (ArrayList)_tagMap.get(dottedFormatTagName);
                }
  +             if (tags == null) {
  +                     String colonedFormatTagName = tagName.replace('.', ':');
  +                     tags = (ArrayList)_tagMap.get(colonedFormatTagName);
  +             }
   
                if (tags == null) {
                        return new XTag[0];
  
  
  
  1.25      +2 -2      xjavadoc/src/xjavadoc/XJavaDoc.java
  
  Index: XJavaDoc.java
  ===================================================================
  RCS file: /cvsroot/xdoclet/xjavadoc/src/xjavadoc/XJavaDoc.java,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -w -r1.24 -r1.25
  --- XJavaDoc.java     17 Mar 2002 07:20:52 -0000      1.24
  +++ XJavaDoc.java     18 Mar 2002 11:09:43 -0000      1.25
  @@ -344,7 +344,7 @@
        /**
         * Get the XClass corresponding to the qualifiedName. This can be a class from
         * source, a precompiled class or a primitive. UnknownClass is never returned
  -      * from this method. If a class can't be resolved, null is returned.
  +      * from this method, unless it has been previously instantiated.
         *
         * @param qualifiedName Fully qualified class name
         * @param proxyIfNotCached Return a proxy if the class is not cached
  @@ -383,7 +383,7 @@
                        // not found in any caches
                        if (proxyIfNotCached) {
                                // Return a proxy class since proxyIfNotCached is true
  -                             // The will ask for a non-proxy later
  +                             // The proxy will ask for a non-proxy later, when 
resolve() is called
                                ProxyClass proxyClass = getProxyClass(qualifiedName, 
useNodeParser);
                                result = proxyClass;
                        }
  
  
  

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to