Sho SHIMIZU

Remove unused constructors in ConnectivityIntent

We will move to use Builder pattern for intents

Change-Id: I68d5811ea16acdac9396d7eaab2dd539a4411889
...@@ -48,50 +48,6 @@ public abstract class ConnectivityIntent extends Intent { ...@@ -48,50 +48,6 @@ public abstract class ConnectivityIntent extends Intent {
48 * Creates a connectivity intent that matches on the specified selector 48 * Creates a connectivity intent that matches on the specified selector
49 * and applies the specified treatment. 49 * and applies the specified treatment.
50 * <p> 50 * <p>
51 - * Path will be chosen without any constraints.
52 - * </p>
53 - *
54 - * @param appId application identifier
55 - * @param resources required network resources (optional)
56 - * @param selector traffic selector
57 - * @param treatment treatment
58 - * @throws NullPointerException if the selector or treatment is null
59 - */
60 - protected ConnectivityIntent(ApplicationId appId,
61 - Collection<NetworkResource> resources,
62 - TrafficSelector selector,
63 - TrafficTreatment treatment) {
64 - this(appId, null, resources, selector, treatment, Collections.emptyList(),
65 - DEFAULT_INTENT_PRIORITY);
66 - }
67 -
68 - /**
69 - * Creates a connectivity intent that matches on the specified selector
70 - * and applies the specified treatment.
71 - * <p>
72 - * Path will be chosen without any constraints.
73 - * </p>
74 - *
75 - * @param appId application identifier
76 - * @param key intent key
77 - * @param resources required network resources (optional)
78 - * @param selector traffic selector
79 - * @param treatment treatment
80 - * @throws NullPointerException if the selector or treatment is null
81 - */
82 - protected ConnectivityIntent(ApplicationId appId,
83 - Key key,
84 - Collection<NetworkResource> resources,
85 - TrafficSelector selector,
86 - TrafficTreatment treatment) {
87 - this(appId, key, resources, selector, treatment, Collections.emptyList(),
88 - DEFAULT_INTENT_PRIORITY);
89 - }
90 -
91 - /**
92 - * Creates a connectivity intent that matches on the specified selector
93 - * and applies the specified treatment.
94 - * <p>
95 * Path will be optimized based on the first constraint if one is given. 51 * Path will be optimized based on the first constraint if one is given.
96 * </p> 52 * </p>
97 * 53 *
...@@ -104,7 +60,6 @@ public abstract class ConnectivityIntent extends Intent { ...@@ -104,7 +60,6 @@ public abstract class ConnectivityIntent extends Intent {
104 * @param priority priority to use for flows generated by this intent 60 * @param priority priority to use for flows generated by this intent
105 * @throws NullPointerException if the selector or treatment is null 61 * @throws NullPointerException if the selector or treatment is null
106 */ 62 */
107 -
108 protected ConnectivityIntent(ApplicationId appId, 63 protected ConnectivityIntent(ApplicationId appId,
109 Key key, 64 Key key,
110 Collection<NetworkResource> resources, 65 Collection<NetworkResource> resources,
......