/[classpath]/gjdoc/src/gnu/classpath/tools/taglets/SinceTaglet.java
ViewVC logotype

Diff of /gjdoc/src/gnu/classpath/tools/taglets/SinceTaglet.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by mark, Sun Aug 14 12:17:56 2005 UTC revision 1.6 by julian, Mon Oct 10 00:25:57 2005 UTC
# Line 105  public class SinceTaglet implements GnuE Line 105  public class SinceTaglet implements GnuE
105           return null;           return null;
106        }        }
107        else {        else {
108             boolean haveValidTag = false;
109             for (int i = 0; i < tags.length && !haveValidTag; ++i) {
110                if (tags[i].text().length() > 0) {
111                   haveValidTag = true;
112                }
113             }
114                    
115           StringBuffer result = new StringBuffer();           if (haveValidTag) {
116           result.append("<dl class=\"tag list\">");              StringBuffer result = new StringBuffer();
117           result.append("<dt class=\"tag section header\"><b>");              result.append("<dl class=\"tag list\">");
118           result.append(HEADER);              result.append("<dt class=\"tag section header\"><b>");
119           result.append("</b></dt>");              result.append(HEADER);
120           for (int i = 0; i < tags.length; ++i) {              result.append("</b></dt>");
121              result.append("<dd>");              for (int i = 0; i < tags.length; ++i) {
122              result.append(inlineTagRenderer.renderInlineTags(tags[i].inlineTags(), context));                 if (tags[i].text().length() > 0) {
123              result.append("</dd>");                    result.append("<dd>");
124                      result.append(inlineTagRenderer.renderInlineTags(tags[i].inlineTags(), context));
125                      result.append("</dd>");
126                   }
127                }
128                result.append("</dl>");
129                return result.toString();
130             }
131             else {
132                return null;
133           }           }
          result.append("</dl>");  
          return result.toString();  
134        }        }
135     }     }
136    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26