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

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

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

revision 1.1 by julian, Fri Mar 7 14:37:47 2003 UTC revision 1.2 by julian, Mon Oct 10 00:25:57 2005 UTC
# Line 80  public class CopyrightTaglet implements Line 80  public class CopyrightTaglet implements
80           return null;           return null;
81        }        }
82        else {        else {
83           String result = "<dl>";           boolean haveValidTag = false;
84           for (int i = 0; i < tags.length; i++) {           for (int i = 0; i < tags.length && !haveValidTag; ++i) {
85              result += "<dt><i>Copyright &#169; " + tags[i].text() + "</i></dt>";              if (tags[i].text().length() > 0) {
86                   haveValidTag = true;
87                }
88             }
89            
90             if (haveValidTag) {
91                StringBuffer result = new StringBuffer();
92                result.append("<dl>");
93                for (int i = 0; i < tags.length; i++) {
94                   if (tags[i].text().length() > 0) {
95                      result.append("<dt><i>Copyright &#169; " + tags[i].text() + "</i></dt>");
96                   }
97                }
98                result.append("</dl>");
99                return result.toString();
100             }
101             else {
102                return null;
103           }           }
          return result  
             + "</dl>";  
104        }        }
105     }     }
106  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

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