Skip to content

Commit b53565d

Browse files
committed
fix: all impacted samples
1 parent 93e4884 commit b53565d

1,194 files changed

Lines changed: 1194 additions & 1194 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/ModelApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public String toString() {
125125
* Convert the given object to string with each line indented by 4 spaces
126126
* (except the first line).
127127
*/
128-
private String toIndentedString(Object o) {
128+
private String toIndentedString(@Nullable Object o) {
129129
if (o == null) {
130130
return "null";
131131
}

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public String toString() {
238238
* Convert the given object to string with each line indented by 4 spaces
239239
* (except the first line).
240240
*/
241-
private String toIndentedString(Object o) {
241+
private String toIndentedString(@Nullable Object o) {
242242
if (o == null) {
243243
return "null";
244244
}

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public String toString() {
275275
* Convert the given object to string with each line indented by 4 spaces
276276
* (except the first line).
277277
*/
278-
private String toIndentedString(Object o) {
278+
private String toIndentedString(@Nullable Object o) {
279279
if (o == null) {
280280
return "null";
281281
}

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Tag.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public String toString() {
9999
* Convert the given object to string with each line indented by 4 spaces
100100
* (except the first line).
101101
*/
102-
private String toIndentedString(Object o) {
102+
private String toIndentedString(@Nullable Object o) {
103103
if (o == null) {
104104
return "null";
105105
}

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/User.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public String toString() {
243243
* Convert the given object to string with each line indented by 4 spaces
244244
* (except the first line).
245245
*/
246-
private String toIndentedString(Object o) {
246+
private String toIndentedString(@Nullable Object o) {
247247
if (o == null) {
248248
return "null";
249249
}

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Category.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public String toString() {
100100
* Convert the given object to string with each line indented by 4 spaces
101101
* (except the first line).
102102
*/
103-
private String toIndentedString(Object o) {
103+
private String toIndentedString(@Nullable Object o) {
104104
if (o == null) {
105105
return "null";
106106
}

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/ModelApiResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ public String toString() {
126126
* Convert the given object to string with each line indented by 4 spaces
127127
* (except the first line).
128128
*/
129-
private String toIndentedString(Object o) {
129+
private String toIndentedString(@Nullable Object o) {
130130
if (o == null) {
131131
return "null";
132132
}

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public String toString() {
237237
* Convert the given object to string with each line indented by 4 spaces
238238
* (except the first line).
239239
*/
240-
private String toIndentedString(Object o) {
240+
private String toIndentedString(@Nullable Object o) {
241241
if (o == null) {
242242
return "null";
243243
}

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ public String toString() {
276276
* Convert the given object to string with each line indented by 4 spaces
277277
* (except the first line).
278278
*/
279-
private String toIndentedString(Object o) {
279+
private String toIndentedString(@Nullable Object o) {
280280
if (o == null) {
281281
return "null";
282282
}

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Tag.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public String toString() {
100100
* Convert the given object to string with each line indented by 4 spaces
101101
* (except the first line).
102102
*/
103-
private String toIndentedString(Object o) {
103+
private String toIndentedString(@Nullable Object o) {
104104
if (o == null) {
105105
return "null";
106106
}

0 commit comments

Comments
 (0)