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 {
* Creates a connectivity intent that matches on the specified selector
* and applies the specified treatment.
* <p>
* Path will be chosen without any constraints.
* </p>
*
* @param appId application identifier
* @param resources required network resources (optional)
* @param selector traffic selector
* @param treatment treatment
* @throws NullPointerException if the selector or treatment is null
*/
protected ConnectivityIntent(ApplicationId appId,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment) {
this(appId, null, resources, selector, treatment, Collections.emptyList(),
DEFAULT_INTENT_PRIORITY);
}
/**
* Creates a connectivity intent that matches on the specified selector
* and applies the specified treatment.
* <p>
* Path will be chosen without any constraints.
* </p>
*
* @param appId application identifier
* @param key intent key
* @param resources required network resources (optional)
* @param selector traffic selector
* @param treatment treatment
* @throws NullPointerException if the selector or treatment is null
*/
protected ConnectivityIntent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
TrafficSelector selector,
TrafficTreatment treatment) {
this(appId, key, resources, selector, treatment, Collections.emptyList(),
DEFAULT_INTENT_PRIORITY);
}
/**
* Creates a connectivity intent that matches on the specified selector
* and applies the specified treatment.
* <p>
* Path will be optimized based on the first constraint if one is given.
* </p>
*
......@@ -104,7 +60,6 @@ public abstract class ConnectivityIntent extends Intent {
* @param priority priority to use for flows generated by this intent
* @throws NullPointerException if the selector or treatment is null
*/
protected ConnectivityIntent(ApplicationId appId,
Key key,
Collection<NetworkResource> resources,
......