Sho SHIMIZU
Committed by Gerrit Code Review

Simplify the statement

Change-Id: Ie9b46c6c3f04322751109adc5896bb51c848a18a
...@@ -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 /**
......