We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5fa54eb + 479f2f8 commit 9d9ba0dCopy full SHA for 9d9ba0d
2 files changed
pvDataJava/src/org/epics/pvdata/factory/BasePVStructure.java
@@ -455,13 +455,16 @@ public boolean equals(Object obj) {
455
// TODO anything else?
456
if (obj instanceof PVStructure) {
457
PVStructure b = (PVStructure)obj;
458
+ if (!getStructure().equals(b.getStructure()))
459
+ return false;
460
+
461
final PVField[] bfields = b.getPVFields();
462
if (bfields.length == pvFields.length)
463
{
464
for (int i = 0; i < pvFields.length; i++)
465
if (!pvFields[i].equals(bfields[i]))
466
return false;
-
467
468
return true;
469
}
470
else
0 commit comments