Remove calls to deprecated public intent data constructor
Change-Id: Ic77c1d2cfb3e954bc0b7ee6a8a66d9c4b8167872
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 3375570..8ca5182 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
@@ -248,13 +248,11 @@
* @param original original data
* @param installables new installable intents to set
*
- * @deprecated in 1.11.0 use {@link #compiled(IntentData, List)} instead
*/
// used to create an instance who reached stable state
// note that state is mutable field, so it gets altered else where
// (probably that design is mother of all intent bugs)
- @Deprecated
- public IntentData(IntentData original, List<Intent> installables) {
+ private IntentData(IntentData original, List<Intent> installables) {
this(original);
this.internalStateVersion++;