aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/InputSingleSpaceComments.java
blob: 9059bb12faf80e6764b06c61b3de8cb068b15d4c (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
}