Jonathan Hart

Prevent null treatments

Change-Id: Icd40ab7f986f9738d0445428cd1f0c9053ed4e88
......@@ -344,7 +344,7 @@ public class DefaultFlowRule implements FlowRule {
@Override
public FlowRule.Builder withTreatment(TrafficTreatment treatment) {
this.treatment = treatment;
this.treatment = checkNotNull(treatment);
return this;
}
......