Sign in
android
/
platform
/
external
/
checkstyle
/
4784b98f2f5daae5a543b6a2bab13e861bf2136e
/
.
/
src
/
test
/
resources
/
com
/
puppycrawl
/
tools
/
checkstyle
/
checks
/
blocks
/
rightcurly
/
InputRightCurlySingelineIfBlocks.java
blob: 3a358af992fef913fef9f1ed0579ffa8f293a3e0 [
file
] [
log
] [
blame
]
package
com
.
puppycrawl
.
tools
.
checkstyle
.
checks
.
blocks
.
rightcurly
;
public
class
InputRightCurlySingelineIfBlocks
{
void
foo1
()
{
if
(
true
)
{
int
a
=
5
;
}
// violation
if
(
true
)
{
if
(
false
)
{
int
b
=
6
;
}
}
// violation
}
}