Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
samples
/
conditionalOperatorConvertor
/
source
/
intentionDescriptions
/
ConditionalOperatorConvertor
/
after.java.template
blob: 9cf0cf2d2222f8958d06a4519e00e211a12c9da4 [
file
] [
log
] [
blame
]
public
class
X
{
void
f
(
boolean
isMale
)
{
String
title
;
if
(
isMale
)
{
title
=
"Mr."
;
}
else
{
title
=
"Ms."
;
}
System
.
out
.
println
(
"title = "
+
title
);
}
}