Avoid unnecessary instantiation

Change-Id: I1ce616feaaca773cd693d07569f7fa1fb9062d14
diff --git a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java
index 4c8d22c..8d36be4 100644
--- a/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java
+++ b/core/api/src/main/java/org/onosproject/net/flow/FlowRuleExtPayLoad.java
@@ -3,7 +3,6 @@
 import static com.google.common.base.MoreObjects.toStringHelper;
 
 import java.util.Arrays;
-import java.util.Objects;
 
 /**
  * Represents for 3rd-party private original flow.
@@ -41,11 +40,11 @@
 
     @Override
     public int hashCode() {
-        return Objects.hash(payLoad);
+        return Arrays.hashCode(payLoad);
     }
 
     public int hash() {
-        return Objects.hash(payLoad);
+        return Arrays.hashCode(payLoad);
     }
 
     @Override