View Javadoc
1   /*
2   SingleSpaceSeparator
3   validateComments = true
4   
5   
6   */
7   
8   package com.puppycrawl.tools.checkstyle.checks.whitespace.singlespaceseparator;
9   
10  public class InputSingleSpaceSeparatorComments {
11      /* always correct */ int i = 0;
12      int   /* wrong if X is enabled */     j = 0; // 2 violations
13      int k;   // violation
14  
15      /**
16       * Always correct
17       */
18      void foo() {
19          /* Always correct */
20          int  a = 0;	// <- a tab // 2 violations
21      }  // Wrong if X is enabled // violation
22  }