title: Some Thing that I Can't Figure Out
body: <p>Here are two similar code. </p>
  
  <pre><code>private static void div(String[] args) {
      if (args.length != 3) {
          System.out.println("Error: Argument count mismatch");
          return;
      }
      int Quotient = 0; 
      int Remainder = 0;
      if (isInteger(args[1]) &amp;&amp; isInteger(args[2])) {
          if (Integer.parseInt(args[2]) == 0) {
              System.out.println("Undefined");
              return;
          }
          Quotient = Integer.parseInt(args[1]) / Integer.parseInt(args[2]);
          Remainder = Integer.parseInt(args[1]) % Integer.parseInt(args[2]);
      } else {
          System.out.println("Error: Argument type mismatch");
          return;
      }
      System.out.println("Quotient " + Quotient);
      System.out.println("Remainder " + Remainder);
  }
  
  
  private static void div(String[] args) {
      if (args.length != 3) {
          System.out.println("Error: Argument count mismatch");
          return;
      }
      int quotient = 0; 
      int remainder = 0;
      if (isInteger(args[1]) &amp;&amp; isInteger(args[2])) {
          if (Integer.parseInt(args[2]) == 0) {
              System.out.println("Undefined");
              return;
          }
          quotient = Integer.parseInt(args[1]) / Integer.parseInt(args[2]);
          remainder = Integer.parseInt(args[1]) % Integer.parseInt(args[2]);
      } else {
          System.out.println("Error: Argument type mismatch");
          return;
      }
      System.out.println("quotient " + quotient);
      System.out.println("remainder " + remainder);
  }
  </code></pre>
  
  <p>When  perform a checkstyle audit, the first one have problem with the name, it will shows that </p>
  
  <p>MyCLIParser.java:98:13: Name 'Quotient' must match pattern '<code>^[a-z][a-zA-Z0-9]*$</code>'.
  MyCLIParser.java:99:13: Name 'Remainder' must match pattern '<code>^[a-z][a-zA-Z0-9]*$</code>'.</p>
  
  <p>However, it is correct when using Automatic grading, the only problem is the codestyle.</p>
  
  <p>The second one's codestyle is right, but after changing the names into quotient and remainder, it has problem when using the Automatic grading. I am sure that all of the relevant names are changed. So why does it happen?</p>