summaryrefslogtreecommitdiffstats
path: root/v3po/v3po2vpp/src
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-06-27 17:26:37 +0200
committerMarek Gradzki <mgradzki@cisco.com>2018-06-27 17:26:42 +0200
commitfdc7c0fec54aa81ec251889deb5756bf0bc9e906 (patch)
tree51317becfd03a84e9076bb808c85424de6b4972d /v3po/v3po2vpp/src
parent801ed98e2f6b6c3f82876e726aa120482210c427 (diff)
BD: remove redundant null check in BridgeDomainCustomizer
Details objects cannot be null. Change-Id: I2a1c0991ec2ccfee4c6d35c77321c6cb67f4bb7f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/v3po2vpp/src')
-rw-r--r--v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/l2state/BridgeDomainCustomizer.java18
1 files changed, 8 insertions, 10 deletions
diff --git a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/l2state/BridgeDomainCustomizer.java b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/l2state/BridgeDomainCustomizer.java
index eaaacefd2..48c1a4835 100644
--- a/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/l2state/BridgeDomainCustomizer.java
+++ b/v3po/v3po2vpp/src/main/java/io/fd/hc2vpp/v3po/l2state/BridgeDomainCustomizer.java
@@ -93,16 +93,14 @@ public final class BridgeDomainCustomizer extends FutureJVppCustomizer
private void logBridgeDomainDetails(final BridgeDomainDetails bridgeDomainDetails) {
LOG.debug("bridgeDomainDetails={}", bridgeDomainDetails);
- if (bridgeDomainDetails != null) {
- LOG.debug("bridgeDomainDetails.arpTerm={}", bridgeDomainDetails.arpTerm);
- LOG.debug("bridgeDomainDetails.bdId={}", bridgeDomainDetails.bdId);
- LOG.debug("bridgeDomainDetails.bviSwIfIndex={}", bridgeDomainDetails.bviSwIfIndex);
- LOG.debug("bridgeDomainDetails.flood={}", bridgeDomainDetails.flood);
- LOG.debug("bridgeDomainDetails.forward={}", bridgeDomainDetails.forward);
- LOG.debug("bridgeDomainDetails.learn={}", bridgeDomainDetails.learn);
- LOG.debug("bridgeDomainDetails.nSwIfs={}", bridgeDomainDetails.nSwIfs);
- LOG.debug("bridgeDomainDetails.uuFlood={}", bridgeDomainDetails.uuFlood);
- }
+ LOG.debug("bridgeDomainDetails.arpTerm={}", bridgeDomainDetails.arpTerm);
+ LOG.debug("bridgeDomainDetails.bdId={}", bridgeDomainDetails.bdId);
+ LOG.debug("bridgeDomainDetails.bviSwIfIndex={}", bridgeDomainDetails.bviSwIfIndex);
+ LOG.debug("bridgeDomainDetails.flood={}", bridgeDomainDetails.flood);
+ LOG.debug("bridgeDomainDetails.forward={}", bridgeDomainDetails.forward);
+ LOG.debug("bridgeDomainDetails.learn={}", bridgeDomainDetails.learn);
+ LOG.debug("bridgeDomainDetails.nSwIfs={}", bridgeDomainDetails.nSwIfs);
+ LOG.debug("bridgeDomainDetails.uuFlood={}", bridgeDomainDetails.uuFlood);
}
@Nonnull