Skip to content

Commit

Permalink
[BI-2208] - simplified toString method
Browse files Browse the repository at this point in the history
  • Loading branch information
mlm483 committed Jul 12, 2024
1 parent b50314c commit 23c09f8
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ public int hashCode() {
}

public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class BrAPIGermplasmStorageTypes {\n");
sb.append(" code: ").append(this.toIndentedString(this.code)).append("\n");
sb.append(" description: ").append(this.toIndentedString(this.description)).append("\n");
sb.append("}");
return sb.toString();
return "class BrAPIGermplasmStorageTypes {\n" +
" code: " + this.toIndentedString(this.code) + "\n" +
" description: " + this.toIndentedString(this.description) + "\n" +
"}";
}

private String toIndentedString(Object o) {
Expand Down

0 comments on commit 23c09f8

Please sign in to comment.