Skip to content

Commit

Permalink
Add toString method to AbstractInstrument
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorzeniewski committed Oct 24, 2022
1 parent d1a17d7 commit 666aaf3
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -39,4 +39,9 @@ public boolean equals(@Nullable Object o) {
public int hashCode() {
return descriptor.hashCode();
}

@Override
public String toString() {
return this.getClass().getSimpleName() + "{" + "descriptor=" + getDescriptor() + '}';
}
}

0 comments on commit 666aaf3

Please sign in to comment.