mirror of
https://github.com/opennetworkinglab/onos.git
synced 2025-10-14 17:01:02 +02:00
Simplify the statement
Change-Id: Ie9b46c6c3f04322751109adc5896bb51c848a18a
This commit is contained in:
parent
d4fa7fd34c
commit
fe89d3ac3a
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user