Committed by
Gerrit Code Review
Simplify the statement
Change-Id: Ie9b46c6c3f04322751109adc5896bb51c848a18a
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -967,7 +967,7 @@ public class IntentSynchronizer implements FibListener, IntentRequestListener { | ... | @@ -967,7 +967,7 @@ public class IntentSynchronizer implements FibListener, IntentRequestListener { |
967 | @Override | 967 | @Override |
968 | public boolean mp2pIntentExists(IpPrefix ipPrefix) { | 968 | public boolean mp2pIntentExists(IpPrefix ipPrefix) { |
969 | checkNotNull(ipPrefix); | 969 | checkNotNull(ipPrefix); |
970 | - return routeIntents.get(ipPrefix) == null ? false : true; | 970 | + return routeIntents.get(ipPrefix) != null; |
971 | } | 971 | } |
972 | 972 | ||
973 | /** | 973 | /** | ... | ... |
-
Please register or login to post a comment