Skip to content

Commit e41de3d

Browse files
authored
Merge pull request #526 from oracle/fix_domain_spec_equals
Add domainHome and domainHomeInImage to equals and hashCode
2 parents d4fb884 + d4577dc commit e41de3d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

model/src/main/java/oracle/kubernetes/weblogic/domain/v2/DomainSpec.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,8 @@ public String toString() {
560560
.appendSuper(super.toString())
561561
.append("domainUID", domainUID)
562562
.append("domainName", domainName)
563+
.append("domainHome", domainHome)
564+
.append("domainHomeInImage", domainHomeInImage)
563565
.append("adminSecret", adminSecret)
564566
.append("asName", asName)
565567
.append("asPort", asPort)
@@ -584,6 +586,8 @@ public int hashCode() {
584586
.appendSuper(super.hashCode())
585587
.append(domainUID)
586588
.append(domainName)
589+
.append(domainHome)
590+
.append(domainHomeInImage)
587591
.append(adminSecret)
588592
.append(asName)
589593
.append(asPort)
@@ -612,6 +616,8 @@ public boolean equals(Object other) {
612616
.appendSuper(super.equals(other))
613617
.append(domainUID, rhs.domainUID)
614618
.append(domainName, rhs.domainName)
619+
.append(domainHome, rhs.domainHome)
620+
.append(domainHomeInImage, rhs.domainHomeInImage)
615621
.append(adminSecret, rhs.adminSecret)
616622
.append(asName, rhs.asName)
617623
.append(asPort, rhs.asPort)

0 commit comments

Comments
 (0)