Clean up instance checks and casts
[openflowplugin.git] / openflowplugin-impl / src / main / java / org / opendaylight / openflowplugin / impl / protocol / serialization / match / PbbEntrySerializer.java
index a89ac2799bced258dcfee135c5e9c459b4d163a9..ec2665fc39b7d6e994afa5299e1ccb489302edcc 100644 (file)
@@ -32,8 +32,8 @@ public class PbbEntrySerializer extends AbstractMatchEntrySerializer {
 
     @Override
     public boolean matchTypeCheck(Match match) {
-        return Objects.nonNull(match.getProtocolMatchFields()) &&
-                Objects.nonNull(match.getProtocolMatchFields().getPbb());
+        return Objects.nonNull(match.getProtocolMatchFields())
+                && Objects.nonNull(match.getProtocolMatchFields().getPbb());
     }
 
     @Override