Skip to content

Commit

Permalink
Fixed ToStringGenerator calls
Browse files Browse the repository at this point in the history
  • Loading branch information
phax committed Dec 5, 2024
1 parent ff200d7 commit 42307a8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,11 @@ public int hashCode ()
@Override
public String toString ()
{
return ToStringGenerator.getDerived (super.toString ())
.append ("ID", m_aVESID)
.append ("DisplayName", m_sDisplayName)
.append ("List", m_aList)
.append ("Status", m_aStatus)
.getToString ();
return new ToStringGenerator (this).append ("ID", m_aVESID)
.append ("DisplayName", m_sDisplayName)
.append ("List", m_aList)
.append ("Status", m_aStatus)
.getToString ();
}

@Nonnull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,9 @@ public int hashCode ()
@Override
public String toString ()
{
return ToStringGenerator.getDerived (super.toString ())
.append ("ID", m_aVESID)
.append ("DisplayName", m_sDisplayName)
.append ("VES", m_aVES)
.getToString ();
return new ToStringGenerator (this).append ("ID", m_aVESID)
.append ("DisplayName", m_sDisplayName)
.append ("VES", m_aVES)
.getToString ();
}
}

0 comments on commit 42307a8

Please sign in to comment.