# HG changeset patch # User jjg # Date 1370644538 25200 # Node ID fd31bf97340fabcd57d111b258cdd74f295efeaa # Parent 5b039297151eeb6a811d07466cd32f299c8dfb5f 8016193: Fix OAC issue in langtools docs Reviewed-by: darcy diff -r 5b039297151e -r fd31bf97340f src/share/classes/com/sun/javadoc/Tag.java --- a/src/share/classes/com/sun/javadoc/Tag.java Thu Jun 06 15:38:42 2013 +0100 +++ b/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();