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/device/DefaultPortDescription.java b/core/api/src/main/java/org/onosproject/net/device/DefaultPortDescription.java
index 12396c2..d687a8b 100644
--- a/core/api/src/main/java/org/onosproject/net/device/DefaultPortDescription.java
+++ b/core/api/src/main/java/org/onosproject/net/device/DefaultPortDescription.java
@@ -170,20 +170,6 @@
*
* @param number to set
* @return self
- *
- * @deprecated in 1.13.0 use withPortNumber() instead.
- */
-
- @Deprecated
- public Builder withPortNumer(PortNumber number) {
- return withPortNumber(number);
- }
-
- /**
- * Sets mandatory field PortNumber.
- *
- * @param number to set
- * @return self
*/
public Builder withPortNumber(PortNumber number) {
this.number = checkNotNull(number);
diff --git a/core/api/src/main/java/org/onosproject/net/flow/DefaultTableStatisticsEntry.java b/core/api/src/main/java/org/onosproject/net/flow/DefaultTableStatisticsEntry.java
index bf34437..e84b343 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/DefaultTableStatisticsEntry.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/DefaultTableStatisticsEntry.java
@@ -35,30 +35,6 @@
* Default table statistics constructor.
*
* @param deviceId device identifier
- * @param tableId index table identifier
- * @param activeFlowEntries number of active flow entries in the table
- * @param packetsLookedupCount number of packets looked up in table
- * @param packetsMatchedCount number of packets that hit table
- * @deprecated since 1.15, suggest using the Builder class.
- */
- @Deprecated
- public DefaultTableStatisticsEntry(DeviceId deviceId,
- int tableId,
- long activeFlowEntries,
- long packetsLookedupCount,
- long packetsMatchedCount) {
- this.deviceId = checkNotNull(deviceId);
- this.tableId = IndexTableId.of(tableId);
- this.activeFlowEntries = activeFlowEntries;
- this.packetsLookedupCount = packetsLookedupCount;
- this.packetsMatchedCount = packetsMatchedCount;
- this.maxSize = NOT_PRESENT;
- }
-
- /**
- * Default table statistics constructor.
- *
- * @param deviceId device identifier
* @param tableId table identifier
* @param activeFlowEntries number of active flow entries in the table
* @param packetsLookedupCount number of packets looked up in table
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;