View Javadoc
1   /*
2   SummaryJavadoc
3   violateExecutionOnNonTightHtml = (default)false
4   forbiddenSummaryFragments = (default)^$
5   period = _
6   
7   
8   */
9   
10  package com.puppycrawl.tools.checkstyle.checks.javadoc.summaryjavadoc;
11  
12  public class InputSummaryJavadocPeriod
13  {   // violation below 'First sentence .* missing an ending period.'
14      /**
15       * As of JDK 1.1, replaced by {@link #setBounds(int,int,int,int)}
16       */
17      void foo3() {}
18      // violation below 'First sentence .* missing an ending period.'
19      /**
20       * Blabla
21       */
22      void foo4() throws Exception {}
23  
24      /** An especially short bit of Javadoc_ */
25      void foo5() {}
26  
27      /**
28       * An especially short bit of Javadoc_
29       */
30      void foo6() {}
31  
32      /**
33       * {@summary An especially short bit of Javadoc_}
34       */
35      void foo7(){}
36      /**
37       * {@summary An especially short bit of Javadoc}
38       */ // violation above 'Summary .* missing an ending period.'
39      void foo8() {}
40  }