langtools/test/tools/doclint/ParaTagTest.java
author akulyakh
Thu, 21 May 2015 11:41:04 -0700
changeset 30730 d3ce7619db2c
parent 15707 7b2411328a5c
permissions -rw-r--r--
8076543: Add @modules as needed to the langtools tests Reviewed-by: jjg, shurailine
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
/*
30730
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 15707
diff changeset
     2
 * Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
15707
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>
30730
d3ce7619db2c 8076543: Add @modules as needed to the langtools tests
akulyakh
parents: 15707
diff changeset
    28
 * @modules jdk.compiler/com.sun.tools.doclint
15707
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    29
 * @build DocLintTester
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    30
 * @run main DocLintTester -Xmsgs ParaTagTest.java
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
/**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    34
 * First line.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    35
 * <p> Para c1.</p>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    36
 * <p> Para c2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    37
 * <p> Para c3.</p>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    38
 */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    39
public class ParaTagTest {
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    40
    /**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    41
     * m1 <code>code </code>.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    42
     * <p> Para m1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    43
     * <p> Para m2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    44
     */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    45
    public void m() {}
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
    /**
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    48
     * m2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    49
     * <p> Para z1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    50
     * <p> Para z2.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    51
     * <pre>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    52
     *    Preformat 1.
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    53
     * </pre>
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    54
     */
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    55
    public void z() {}
7b2411328a5c 8007566: DocLint too aggressive with not allowed here: <p>
jjg
parents:
diff changeset
    56
}