Remove deprecated constructor in FlowRuleIntent
Change-Id: Ib5b72ed3782de2de12622db666321b327d0e8f0b
diff --git a/core/api/src/main/java/org/onosproject/net/intent/FlowRuleIntent.java b/core/api/src/main/java/org/onosproject/net/intent/FlowRuleIntent.java
index 0646a00..2a2d7c7 100644
--- a/core/api/src/main/java/org/onosproject/net/intent/FlowRuleIntent.java
+++ b/core/api/src/main/java/org/onosproject/net/intent/FlowRuleIntent.java
@@ -23,7 +23,6 @@
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 @@
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
diff --git a/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java b/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
index 4bf32f4..3f40de0 100644
--- a/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
+++ b/core/net/src/test/java/org/onosproject/net/intent/impl/IntentManagerTest.java
@@ -157,7 +157,7 @@
private static class MockInstallableIntent extends FlowRuleIntent {
public MockInstallableIntent() {
- super(APPID, Collections.singletonList(new MockFlowRule(100)));
+ super(APPID, Collections.singletonList(new MockFlowRule(100)), Collections.emptyList());
}
}