Skip to content

Commit de8e7c3

Browse files
ctf: make integerDeclaration#equals count mappings
Change-Id: I600c3d760717956097e41cb2db44de0cc58086ce Signed-off-by: Matthew Khouzam <[email protected]>
1 parent c6d6d1f commit de8e7c3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ctf/org.eclipse.tracecompass.ctf.core/src/org/eclipse/tracecompass/ctf/core/event/types/IntegerDeclaration.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -672,6 +672,12 @@ public boolean equals(@Nullable Object obj) {
672672
if (fEncoding != other.fEncoding) {
673673
return false;
674674
}
675+
if (!Objects.equals(fMappings, other.fMappings)) {
676+
return false;
677+
}
678+
if (!Objects.equals(getRole(), other.getRole())) {
679+
return false;
680+
}
675681
return (fBase == other.fBase);
676682
}
677683

0 commit comments

Comments
 (0)