Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdbtrace.core: handle selection with heterogenous traces
Check that a child trace is a GdbTrace before casting. Change comparison from object.equals(other) to Objects.equals(a,b) This avoids exceptions. This should not change the functioning, but reduce the false positive errors (NPE) in the console. The exception before was aborting the if statement on false. Change-Id: I1636e9cb856e5fbf69a33d9e6a8e6cbaa539219e Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/c/tracecompass/org.eclipse.tracecompass/+/201860 Tested-by: Trace Compass Bot <tracecompass-bot@eclipse.org> Tested-by: Patrick Tasse <patrick.tasse@gmail.com> Reviewed-by: Patrick Tasse <patrick.tasse@gmail.com>
- Loading branch information
1 parent
1e09a7c
commit 05f9784
Showing
1 changed file
with
13 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters