diff options
Diffstat (limited to 'tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java')
-rw-r--r-- | tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java b/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java index aae4ad357..d292c7f3a 100644 --- a/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java +++ b/tools/gnu/classpath/tools/taglets/DeprecatedTaglet.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -16,7 +16,7 @@ General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA -02111-1307 USA. +02111-1307 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and @@ -49,16 +49,16 @@ import com.sun.javadoc.Tag; * @author Julian Scheid (julian@sektor37.de) */ public class DeprecatedTaglet implements Taglet { - + private static final String NAME = "deprecated"; private static final String HEADER = "Deprecated:"; private static boolean enabled = true; - + public String getName() { return NAME; } - + public boolean inField() { return true; } @@ -66,11 +66,11 @@ public class DeprecatedTaglet implements Taglet { public boolean inConstructor() { return true; } - + public boolean inMethod() { return true; } - + public boolean inOverview() { return true; } @@ -82,10 +82,10 @@ public class DeprecatedTaglet implements Taglet { public boolean inType() { return true; } - + public boolean isInlineTag() { return false; - } + } public static void register(Map tagletMap) { DeprecatedTaglet deprecatedTaglet = new DeprecatedTaglet(); @@ -106,7 +106,7 @@ public class DeprecatedTaglet implements Taglet { return null; } else { - + StringBuffer result = new StringBuffer(); result.append("<div class=\"classdoc-tag-section-header\">"); result.append(HEADER); |