aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/com/puppycrawl/tools/checkstyle/checks/whitespace/InputWhitespaceAround.java
blob: 0de832df9e5bccaed03c8419831812a835fa24ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package com.puppycrawl.tools.checkstyle.checks.whitespace;

@SuppressWarnings({"this", "that"})
public class InputWhitespaceAround
{
    protected InputWhitespaceAround ( int i )
    {
        this (); //whitespace
        toString ();
    }
    protected InputWhitespaceAround ()
    {
        super ();
    }
    
    public void enhancedFor ()
    {
        int[] i = new int[2];
        for ( int j: i ) {
            System.out.println ( j );
        }
    }
}

@interface CronExpression {
	Class<?>[] groups() default {}; 
}

@interface CronExpression1 {
	Class<?>[] groups() default { }; // extra space
}