Sign in
android
/
platform
/
tools
/
idea
/
9b5d02ac8c92b1e71523cc15cb3d168d57fbd898
/
.
/
plugins
/
IntentionPowerPak
/
test
/
com
/
siyeh
/
ipp
/
conditional
/
withIf
/
ConditionalInBinaryExpression_after.java
blob: 7a39044d06233258ea132175ee957c63d741c3cd [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
ipp
.
conditional
.
withIf
;
class
ConditionalInBinaryExpression
{
public
String
foo
(
int
num
)
{
if
(
num
==
-
1
)
return
"string"
+
"z"
;
else
return
"string"
+
((
num
==
Integer
.
MAX_VALUE
)
?
"a"
:
"b"
);
}
}