langtools/test/tools/doclint/ParaTagTest.java
author jmasa
Tue, 12 Mar 2013 11:00:49 -0700
changeset 15959 9a29e0e3a633
parent 15707 7b2411328a5c
child 30730 d3ce7619db2c
permissions -rw-r--r--
6976528: PS: assert(!limit_exceeded || softrefs_clear) failed: Should have been cleared Reviewed-by: johnc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
15707
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     1
/*
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     2
 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     4
 *
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     7
 * published by the Free Software Foundation.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     8
 *
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    13
 * accompanied this code).
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    14
 *
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    18
 *
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    21
 * questions.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    22
 */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    23
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    24
/*
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    25
 * @test
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    26
 * @bug 8007566
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    27
 * @summary DocLint too aggressive with not allowed here: <p>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    28
 * @build DocLintTester
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    29
 * @run main DocLintTester -Xmsgs ParaTagTest.java
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    30
 */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    31
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    32
/**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    33
 * First line.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    34
 * <p> Para c1.</p>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    35
 * <p> Para c2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    36
 * <p> Para c3.</p>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    37
 */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    38
public class ParaTagTest {
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    39
    /**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    40
     * m1 <code>code </code>.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    41
     * <p> Para m1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    42
     * <p> Para m2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    43
     */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    44
    public void m() {}
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    45
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    46
    /**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    47
     * m2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    48
     * <p> Para z1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    49
     * <p> Para z2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    50
     * <pre>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    51
     *    Preformat 1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    52
     * </pre>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    53
     */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    54
    public void z() {}
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    55
}