blob: fb510d3d7f01d4b5748fa6a6d5a1b6aa75b09b0c (
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.indentation; //indent:0 exp:0
/** //indent:0 exp:0
* This test-input is intended to be checked using following configuration: //indent:1 exp:1
* //indent:1 exp:1
* arrayInitIndent = 4 //indent:1 exp:1
* basicOffset = 4 //indent:1 exp:1
* braceAdjustment = 2 //indent:1 exp:1
* caseIndent = 4 //indent:1 exp:1
* forceStrictCondition = false //indent:1 exp:1
* lineWrappingIndentation = 4 //indent:1 exp:1
* tabWidth = 4 //indent:1 exp:1
* throwsIndent = 4 //indent:1 exp:1
* //indent:1 exp:1
* @author jrichard //indent:1 exp:1
*/ //indent:1 exp:1
public class InputBraceAdjustment //indent:0 exp:0
{ //indent:2 exp:2
/** Creates a new instance of InputBraceAdjustment */ //indent:4 exp:4
public InputBraceAdjustment() //indent:4 exp:4
{ //indent:6 exp:6
// sorry about the religious commentary... :) //indent:8 exp:8
boolean uglyGnuStyle = true; //indent:8 exp:8
if (uglyGnuStyle) //indent:8 exp:8
{ //indent:10 exp:10
System.identityHashCode("ugly GNU style braces"); //indent:12 exp:12
} //indent:8 exp:10 warn
} //indent:6 exp:6
} //indent:2 exp:2
|