Committed by
Gerrit Code Review
Remove deprecated constructor in FlowRuleIntent
Change-Id: Ib5b72ed3782de2de12622db666321b327d0e8f0b
Showing
2 changed files
with
1 additions
and
14 deletions
... | @@ -23,7 +23,6 @@ import org.onosproject.net.NetworkResource; | ... | @@ -23,7 +23,6 @@ import org.onosproject.net.NetworkResource; |
23 | import org.onosproject.net.flow.FlowRule; | 23 | import org.onosproject.net.flow.FlowRule; |
24 | 24 | ||
25 | import java.util.Collection; | 25 | import java.util.Collection; |
26 | -import java.util.Collections; | ||
27 | import java.util.List; | 26 | import java.util.List; |
28 | 27 | ||
29 | import static com.google.common.base.Preconditions.checkNotNull; | 28 | import static com.google.common.base.Preconditions.checkNotNull; |
... | @@ -38,18 +37,6 @@ public class FlowRuleIntent extends Intent { | ... | @@ -38,18 +37,6 @@ public class FlowRuleIntent extends Intent { |
38 | private final Collection<FlowRule> flowRules; | 37 | private final Collection<FlowRule> flowRules; |
39 | 38 | ||
40 | /** | 39 | /** |
41 | - * Creates an flow rule intent with the specified flow rules to be set. | ||
42 | - * | ||
43 | - * @param appId application id | ||
44 | - * @param flowRules flow rules to be set. | ||
45 | - * @deprecated in Cardinal Release | ||
46 | - */ | ||
47 | - @Deprecated | ||
48 | - public FlowRuleIntent(ApplicationId appId, List<FlowRule> flowRules) { | ||
49 | - this(appId, null, flowRules, Collections.emptyList()); | ||
50 | - } | ||
51 | - | ||
52 | - /** | ||
53 | * Creates a flow rule intent with the specified flow rules and resources. | 40 | * Creates a flow rule intent with the specified flow rules and resources. |
54 | * | 41 | * |
55 | * @param appId application id | 42 | * @param appId application id | ... | ... |
... | @@ -157,7 +157,7 @@ public class IntentManagerTest { | ... | @@ -157,7 +157,7 @@ public class IntentManagerTest { |
157 | private static class MockInstallableIntent extends FlowRuleIntent { | 157 | private static class MockInstallableIntent extends FlowRuleIntent { |
158 | 158 | ||
159 | public MockInstallableIntent() { | 159 | public MockInstallableIntent() { |
160 | - super(APPID, Collections.singletonList(new MockFlowRule(100))); | 160 | + super(APPID, Collections.singletonList(new MockFlowRule(100)), Collections.emptyList()); |
161 | } | 161 | } |
162 | } | 162 | } |
163 | 163 | ... | ... |
-
Please register or login to post a comment