Simplify the statement

Change-Id: Ie9b46c6c3f04322751109adc5896bb51c848a18a
This commit is contained in:
Sho SHIMIZU 2015-06-30 18:15:39 -07:00 committed by Gerrit Code Review
parent d4fa7fd34c
commit fe89d3ac3a

View File

@ -967,7 +967,7 @@ public class IntentSynchronizer implements FibListener, IntentRequestListener {
@Override @Override
public boolean mp2pIntentExists(IpPrefix ipPrefix) { public boolean mp2pIntentExists(IpPrefix ipPrefix) {
checkNotNull(ipPrefix); checkNotNull(ipPrefix);
return routeIntents.get(ipPrefix) == null ? false : true; return routeIntents.get(ipPrefix) != null;
} }
/** /**