blob: db09fca86b334d17a9d55e13071f79afc6558792 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package com.puppycrawl.tools.checkstyle.checks.whitespace;
public class InputSingleSpaceComments {
/* always correct */ int i = 0;
int /* wrong if X is enabled */ j = 0;
int k; // Multiple whitespaces before comment
/**
* Always correct
*/
void foo() {
/* Always correct */
int a = 0; // <- a tab
} // Wrong if X is enabled
}
|