X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2Fportpair%2FPortInfo.java;fp=zte%2Fsfc-driver%2Fsfc-driver%2Fsrc%2Fmain%2Fjava%2Forg%2Fonap%2Fsfc%2Fentity%2Fportpair%2FPortInfo.java;h=31af38f5c9e90c1c8a657654352284d68fecf1d5;hb=77dddd871421b1de8d92dd76e2a1b237cb00b50f;hp=a2f2a9fbc3548fa5cf92204457f0f10758ca4aee;hpb=3062ee6e0b4ed88c5a3b10ebf8188341c5b92987;p=vfc%2Fnfvo%2Fdriver%2Fsfc.git diff --git a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/portpair/PortInfo.java b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/portpair/PortInfo.java index a2f2a9f..31af38f 100644 --- a/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/portpair/PortInfo.java +++ b/zte/sfc-driver/sfc-driver/src/main/java/org/onap/sfc/entity/portpair/PortInfo.java @@ -27,4 +27,11 @@ public class PortInfo { private String mac; @SerializedName("port-name") private String portName; + + public boolean equals(Object o) { + if(o == this) { + return true; + } + return false; + } }