Sho SHIMIZU
Committed by Gerrit Code Review

Remove deprecated constructor in FlowRuleIntent

Change-Id: Ib5b72ed3782de2de12622db666321b327d0e8f0b
......@@ -23,7 +23,6 @@ import org.onosproject.net.NetworkResource;
import org.onosproject.net.flow.FlowRule;
import java.util.Collection;
import java.util.Collections;
import java.util.List;
import static com.google.common.base.Preconditions.checkNotNull;
......@@ -38,18 +37,6 @@ public class FlowRuleIntent extends Intent {
private final Collection<FlowRule> flowRules;
/**
* Creates an flow rule intent with the specified flow rules to be set.
*
* @param appId application id
* @param flowRules flow rules to be set.
* @deprecated in Cardinal Release
*/
@Deprecated
public FlowRuleIntent(ApplicationId appId, List<FlowRule> flowRules) {
this(appId, null, flowRules, Collections.emptyList());
}
/**
* Creates a flow rule intent with the specified flow rules and resources.
*
* @param appId application id
......
......@@ -157,7 +157,7 @@ public class IntentManagerTest {
private static class MockInstallableIntent extends FlowRuleIntent {
public MockInstallableIntent() {
super(APPID, Collections.singletonList(new MockFlowRule(100)));
super(APPID, Collections.singletonList(new MockFlowRule(100)), Collections.emptyList());
}
}
......