# HG changeset patch # User jjg # Date 1370644538 25200 # Node ID 484bb5ccaa4a7d0a5199f0d5eb4bee04fe107a83 # Parent 6d9d2e2b89f9a68000dfcb28fcd7eea312e50986 8016193: Fix OAC issue in langtools docs Reviewed-by: darcy diff -r 6d9d2e2b89f9 -r 484bb5ccaa4a langtools/src/share/classes/com/sun/javadoc/Tag.java --- a/langtools/src/share/classes/com/sun/javadoc/Tag.java Thu Jun 06 15:38:42 2013 +0100 +++ b/langtools/src/share/classes/com/sun/javadoc/Tag.java Fri Jun 07 15:35:38 2013 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2012, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -54,36 +54,44 @@ * {@link}, the curly brackets * are not part of the name, so in this example the name * would be simply @link. + * + * @return the name of this tag */ String name(); /** * Return the containing {@link Doc} of this Tag element. + * + * @return the containing {@link Doc} of this Tag element */ Doc holder(); /** * Return the kind of this tag. - * similar or synonymous tags. For most tags, + * For most tags, * kind() == name(); * the following table lists those cases where there is more * than one tag of a given kind: *

- * - * - * - * - * - * - * - * - * + *
kind() name()
@throws @throws
@throws @exception
@see @see
@see @link
@see @linkplain
@serial @serial
@serial @serialData
+ * + * + * + * + * + * + * + * *
{@code kind() } {@code name() }
{@code @throws } {@code @throws }
{@code @throws } {@code @exception }
{@code @see } {@code @see }
{@code @see } {@code @link }
{@code @see } {@code @linkplain }
{@code @serial } {@code @serial }
{@code @serial } {@code @serialData }
+ * + * @return the kind of this tag. */ String kind(); /** - * Return the text of this tag, that is, portion beyond tag name. + * Return the text of this tag, that is, the portion beyond tag name. + * + * @return the text of this tag */ String text();