Remove deprecated APIs
- Storage Admin Service getPartitionInfo()
- org.onosproject.codec.ExtensionSelectorCodec
- org.onosproject.codec.ExtensionTreatmentCodec
- DefaultPortDescription builder withPortNumer()
- DefaultTableStatisticsEntry public constructors
- IntentData public constructors and copy constructors
- DistributedPrimitiveOptions withMeteringDisbled()
- PartitionService getActiveMembersMembers(), getDistributedPrimitiveCreator()
- DistributedPrimitive DEFAULT_OPERTATION_TIMEOU_MILLIS
- MapEvent.value()
- PartitionClientInfo.sessionId(), session()
- org.onosproject.store.flow.impl.DistributedFlowRuleStore
Change-Id: Id89870e6facf1e7fca24dd180bbd095139d001f3
diff --git a/core/api/src/main/java/org/onosproject/net/intent/IntentData.java b/core/api/src/main/java/org/onosproject/net/intent/IntentData.java
index 2c996c2..3375570 100644
--- a/core/api/src/main/java/org/onosproject/net/intent/IntentData.java
+++ b/core/api/src/main/java/org/onosproject/net/intent/IntentData.java
@@ -223,69 +223,13 @@
}
/**
- * Creates a new intent data object.
- *
- * @param intent intent this metadata references
- * @param state intent state
- * @param version version of the intent for this key
- * @param origin ID of the node where the data was originally created
- *
- * @deprecated in 1.11.0
- */
- // No longer used in the code base anywhere
- @Deprecated
- public IntentData(Intent intent, IntentState state, Timestamp version, NodeId origin) {
- checkNotNull(intent);
- checkNotNull(state);
- checkNotNull(version);
- checkNotNull(origin);
-
- this.intent = intent;
- this.state = state;
- this.request = state;
- this.version = version;
- this.origin = origin;
- }
-
- /**
- * Creates a new intent data object.
- *
- * @param intent intent this metadata references
- * @param state intent state
- * @param request intent request
- * @param version version of the intent for this key
- * @param origin ID of the node where the data was originally created
- *
- * @deprecated in 1.11.0
- */
- // No longer used in the code base anywhere
- // was used when IntentData is picked up by some of the node and was assigned with a version
- @Deprecated
- public IntentData(Intent intent, IntentState state, IntentState request, Timestamp version, NodeId origin) {
- checkNotNull(intent);
- checkNotNull(state);
- checkNotNull(request);
- checkNotNull(version);
- checkNotNull(origin);
-
- this.intent = intent;
- this.state = state;
- this.request = request;
- this.version = version;
- this.origin = origin;
- }
-
- /**
* Copy constructor.
*
* @param intentData intent data to copy
*
- * @deprecated in 1.11.0 use {@link #copy(IntentData)} instead
*/
// used to create a defensive copy
- // to be made private
- @Deprecated
- public IntentData(IntentData intentData) {
+ private IntentData(IntentData intentData) {
checkNotNull(intentData);
intent = intentData.intent;