Gitiles
Code Review
Sign In
android-review.linaro.org
/
platform
/
tools
/
idea
/
e782c57d74000722f9db4c9426317410520670c6
/
.
/
plugins
/
IntentionPowerPak
/
test
/
com
/
siyeh
/
ipp
/
equality
/
replace_equality_with_safe_equals
/
SimpleObjectComparison_after.java
blob: 5ee0ddf5d6df6b02ce9608f0afa7af815faa882d [
file
] [
log
] [
blame
]
package
com
.
siyeh
.
ipp
.
equality
.
replace_equality_with_safe_equals
;
public
class
SimpleObjectComparison
{
boolean
a
(
Object
a
,
Object
b
)
{
return
a
==
null
?
b
==
null
:
a
.
equals
(
b
);
}
}