1 /* 2 SingleLineJavadoc 3 violateExecutionOnNonTightHtml = (default)false 4 ignoredTags = (default) 5 ignoreInlineTags = (default)true 6 7 8 */ 9 10 package com.puppycrawl.tools.checkstyle.checks.javadoc.singlelinejavadoc; 11 12 class InputSingleLineJavadoc { 13 14 /** As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} */ 15 void foo() {} 16 17 /** 18 * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)} 19 */ 20 void foo1() {} 21 22 /** @throws CheckstyleException if a problem occurs */ // violation 23 void foo2() {} 24 25 /** 26 * @throws CheckstyleException if a problem occurs 27 */ 28 void foo3() {} 29 30 /** An especially short bit of Javadoc. */ 31 void foo4() {} 32 33 /** 34 * An especially short bit of Javadoc. 35 */ 36 void foo5() {} 37 38 /** @inheritDoc */ // violation 39 void foo6() {} 40 41 /** {@inheritDoc} */ 42 void foo7() {} 43 44 /** {@inheritDoc} {@code bar} */ 45 void foo8() {} 46 47 /** {@inheritDoc} {@link #bar} */ 48 void foo9() {} 49 50 /** @customTag */ // violation 51 void bar() {} 52 53 /** @ignoredCustomTag */ // violation 54 void bar1() {} 55 56 /** <h1> Some header </h1> {@inheritDoc} {@code bar1} text*/ 57 void bar2() {} 58 59 /** @customTag <a> href="https://github.com/checkstyle/checkstyle/"</a> text*/ // violation 60 void bar3() {} 61 }