Sho SHIMIZU
Committed by Gerrit Code Review

Simplify the statement

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