Skip to content

Commit ea6b882

Browse files
committed
Update Generated Samples
Signed-off-by: Chrimle <28791817+Chrimle@users.noreply.github.com>
1 parent da6c530 commit ea6b882

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model

samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/AllOfSimpleModel.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ public String toString() {
165165
* (except the first line).
166166
*/
167167
private String toIndentedString(Object o) {
168-
if (o == null) {
169-
return "null";
170-
}
171-
return o.toString().replace("\n", "\n ");
168+
return String.valueOf(o).replace("\n", "\n ");
172169
}
173170

174171

0 commit comments

Comments
 (0)