aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Perot2014-07-24 13:06:19 (EDT)
committerAlexandre Montplaisir2014-07-24 17:57:09 (EDT)
commita3b915b92ecc387a80df541185399548043096e8 (patch)
tree8d8bc12483c48af1f2ffcfa7788539082802c27a
parenta3f11a6312569af1c89e27bb47691f433107eb94 (diff)
downloadorg.eclipse.linuxtools-a3b915b92ecc387a80df541185399548043096e8.zip
org.eclipse.linuxtools-a3b915b92ecc387a80df541185399548043096e8.tar.gz
org.eclipse.linuxtools-a3b915b92ecc387a80df541185399548043096e8.tar.bz2
pcap: fix blockers for sonarrefs/changes/53/30453/3
Change-Id: I793c038b7bfcb7c002233132115d3a9b01a6fef9 Signed-off-by: Vincent Perot <vincent.perot@ericsson.com> Reviewed-on: https://git.eclipse.org/r/30453 Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Tested-by: Hudson CI
-rw-r--r--lttng/org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/protocol/unknown/UnknownEndpoint.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/lttng/org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/protocol/unknown/UnknownEndpoint.java b/lttng/org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/protocol/unknown/UnknownEndpoint.java
index d94c676..481e809 100644
--- a/lttng/org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/protocol/unknown/UnknownEndpoint.java
+++ b/lttng/org.eclipse.linuxtools.pcap.core/src/org/eclipse/linuxtools/pcap/core/protocol/unknown/UnknownEndpoint.java
@@ -51,6 +51,9 @@ public class UnknownEndpoint extends ProtocolEndpoint {
@Override
public boolean equals(@Nullable Object obj) {
+ if (this == obj) {
+ return true;
+ }
return false;
}
}