View Javadoc
1   /*
2   JavadocParagraph
3   violateExecutionOnNonTightHtml = (default)false
4   allowNewlineParagraph = (default)true
5   
6   
7   */
8   
9   package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocparagraph;
10  
11  public class InputJavadocParagraphIncorrect6 {
12      /**
13      * Some Summary.
14      *
15      * <p><!-- comment is required --> extra space in paragraph after comment is violation
16      */
17      // violation 2 lines above '<p> tag should be placed immediately before the first word'
18      int a;
19  
20      /**
21      * Some Summary.
22      *
23      * <p> <!-- comment is required -->extra space in paragraph before comment is violation
24      */
25      // violation 2 lines above '<p> tag should be placed immediately before the first word'
26      int b;
27  
28      /**
29      * Some Summary.
30      *
31      * <p> <!-- comment is required --> both cases combined, this is also violation
32      */
33      // violation 2 lines above '<p> tag should be placed immediately before the first word'
34      int c;
35  
36      /**
37      * Some Summary.
38      *
39      * <p><!-- comment is required -->no extra spaces, this is okay
40      */
41      int d;
42  }