code: /*
  JavadocStyle
  scope = (default)private
  excludeScope = (default)null
  checkFirstSentence = (default)true
  endOfSentenceFormat = ([.][ \t\n\r\f<])|([.]$)
  checkEmptyJavadoc = (default)false
  checkHtml = false
  tokens = (default)ANNOTATION_DEF, ANNOTATION_FIELD_DEF, CLASS_DEF, CTOR_DEF, \
           ENUM_CONSTANT_DEF, ENUM_DEF, INTERFACE_DEF, METHOD_DEF, PACKAGE_DEF, \
           VARIABLE_DEF, RECORD_DEF, COMPACT_CTOR_DEF
  
  
  */
  
  package com.puppycrawl.tools.checkstyle.checks.javadoc.javadocstyle;
  
  public class InputJavadocStyleFirstSentenceFormatOne
  {
     // This is OK. We don't flag missing javadoc.  That's left for other checks.
     private String first; // ok
  
     /** This Javadoc is missing an ending period */ // violation
     private String second;
  
     /**
      * We don't want {@link com.puppycrawl.tools.checkstyle.checks.JavadocStyleCheck}
      * tags to stop the scan for the end of sentence.
      * @see Something
      */
     public InputJavadocStyleFirstSentenceFormatOne() {} // ok
  
     /** // violation
      * This is ok!
      */
     private void method1() {}
  
     /** // violation
      * This is ok?
      */
     private void method2() {}
  
     /**
      * And This is ok.<br>
      */
     private void method3() {} // ok
  
     /** // violation
      * This should fail even.though.there are embedded periods
      */
     private void method4() {}
  
     /**
      * Test HTML in Javadoc comment
      * <dl>
      * <dt><b>This guy is missing end of bold tag
      * <dd>The dt and dd don't require end tags.
      * </dl>
      * </td>Extra tag shouldn't be here
      * <style>this tag isn't supported in Javadoc</style>
      * @param arg1 <code>dummy.
      */
     private void method5(int arg1) {} // ok
  
     /** // violation
      * Protected check <b>should fail
      */
     protected void method6() {}
  
     /** // violation
      * Package protected check <b>should fail
      */
     void method7() {}
  
     /** // violation
      * Public check should fail</code>
      * should fail <
      */
     public void method8() {}
  
     /** {@inheritDoc} **/
     public void method9() {} // ok
  
  
      // Testcases to exercise the Tag parser (bug 843887)
  
      /**
       * Real men don't use XHTML.
       * <br />
       * <hr/>
       * < br/>
       * <img src="schattenparker.jpg"/></img>
       */
      private void method10() {} // ok
  
      /**
       * Tag content can be really mean.
       * <p>
       * Sometimes a p tag is closed.
       * </p>
       * <p>
       * Sometimes it's not.
       *
       * <span style="font-family:'Times New Roman',Times,serif;font-size:200%">
       * Attributes can contain spaces and nested quotes.
       * </span>
       * <img src="slashesCanOccurWithin/attributes.jpg"/>
       * <img src="slashesCanOccurWithin/attributes.jpg">
       * <!-- comments <div> should not be checked. -->
       */
      private void method11() {} // ok
  
      /**
       * Tags for two lines.
       * <a href="some_link"
       * >Link Text</a>
       */
      private void method12() {} // ok
  }
  