title: Checkstyle: How to turn off "SummaryJavadoc: First sentence of Javadoc is missing an ending period."
body: <p>I'm having trouble turning off the CheckStyle error</p>
  
  <pre><code>SummaryJavadoc: First sentence of Javadoc is missing an ending period.
  </code></pre>
  
  <p>According to <a href="https://stackoverflow.com/a/36895321/1005607">this thread</a>, the fix is </p>
  
  <pre><code>&lt;module name="JavadocStyle"&gt;
     &lt;property name="checkFirstSentence" value="false"/&gt;
  &lt;/module&gt;
  </code></pre>
  
  <p>But after I put it in there was no effect, I was still getting the error. </p>
  
  <p>Based on the message, the error is in <strong>SummaryJavadoc</strong> rather than <strong>JavadocStyle</strong>. So I tried putting that property inside <code>SummaryJavadoc</code>:</p>
  
  <pre><code>   &lt;module name="SummaryJavadoc"&gt;
          &lt;property name="checkFirstSentence" value="false"/&gt;
          &lt;property name="forbiddenSummaryFragments"
           value="^@return the *|^This method returns |^A [{]@code [a-zA-Z0-9]+[}]( is a )"/&gt;
      &lt;/module&gt;
  </code></pre>
  
  <p>But that completely broke CheckStyle, so I can't put it there either.</p>