DefaultFlowRule: remove deprecated constructor

Change-Id: Iac8dbc0f8fc2386f3f3b6435965503a2050e4b38
diff --git a/core/api/src/main/java/org/onosproject/net/flow/DefaultFlowRule.java b/core/api/src/main/java/org/onosproject/net/flow/DefaultFlowRule.java
index fce7fc9..c83c156 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/DefaultFlowRule.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/DefaultFlowRule.java
@@ -63,13 +63,6 @@
         this(deviceId, selector, treatment, priority, appId, new DefaultGroupId(0), timeout, permanent);
     }
 
-    @Deprecated
-    public DefaultFlowRule(DeviceId deviceId, TrafficSelector selector,
-                           TrafficTreatment treatment, int priority, ApplicationId appId,
-                           short groupId, int timeout, boolean permanent) {
-        this(deviceId, selector, treatment, priority, appId, new DefaultGroupId(groupId), timeout, permanent);
-    }
-
     public DefaultFlowRule(DeviceId deviceId, TrafficSelector selector,
                            TrafficTreatment treatment, int priority, ApplicationId appId,
                            GroupId groupId, int timeout, boolean permanent) {
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java b/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java
index 9d350b5..7c0b145 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/LinkCollectionIntentInstaller.java
@@ -29,6 +29,7 @@
 import org.apache.felix.scr.annotations.ReferenceCardinality;
 import org.onosproject.core.ApplicationId;
 import org.onosproject.core.CoreService;
+import org.onosproject.core.DefaultGroupId;
 import org.onosproject.net.ConnectPoint;
 import org.onosproject.net.DeviceId;
 import org.onosproject.net.Link;
@@ -168,7 +169,7 @@
 
         FlowRule rule = new DefaultFlowRule(deviceId,
                 selector, treatment, 123,
-                appId, (short) (intent.id().fingerprint() &  0xffff), 0, true);
+                appId, new DefaultGroupId((short) (intent.id().fingerprint() &  0xffff)), 0, true);
 
         return new FlowRuleBatchEntry(operation, rule);
     }
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/PathIntentInstaller.java b/core/net/src/main/java/org/onosproject/net/intent/impl/PathIntentInstaller.java
index 2c21af6..8b8786e 100644
--- a/core/net/src/main/java/org/onosproject/net/intent/impl/PathIntentInstaller.java
+++ b/core/net/src/main/java/org/onosproject/net/intent/impl/PathIntentInstaller.java
@@ -25,6 +25,7 @@
 import org.apache.felix.scr.annotations.ReferenceCardinality;
 import org.onosproject.core.ApplicationId;
 import org.onosproject.core.CoreService;
+import org.onosproject.core.DefaultGroupId;
 import org.onosproject.net.ConnectPoint;
 import org.onosproject.net.Link;
 import org.onosproject.net.flow.DefaultFlowRule;
@@ -100,7 +101,7 @@
 
             FlowRule rule = new DefaultFlowRule(link.src().deviceId(),
                     builder.build(), treatment, 123, //FIXME 123
-                    appId, (short) (intent.id().fingerprint() & 0xffff), 0, true);
+                    appId, new DefaultGroupId((short) (intent.id().fingerprint() & 0xffff)), 0, true);
             rules.add(new FlowRuleBatchEntry(FlowRuleOperation.ADD, rule,
                                              intent.id().fingerprint()));
             prev = link.dst();
@@ -128,7 +129,7 @@
                             .setOutput(link.src().port()).build();
             FlowRule rule = new DefaultFlowRule(link.src().deviceId(),
                     builder.build(), treatment,
-                    123, appId, (short) (intent.id().fingerprint() & 0xffff), 0, true);
+                    123, appId, new DefaultGroupId((short) (intent.id().fingerprint() & 0xffff)), 0, true);
             rules.add(new FlowRuleBatchEntry(FlowRuleOperation.REMOVE, rule,
                                              intent.id().fingerprint()));
             prev = link.dst();