Skip to content

Commit d868fd6

Browse files
authored
[Java][clients] remove java.lang prefix from Object (#6806)
1 parent a97feaf commit d868fd6

File tree

2,161 files changed

+4195
-4206
lines changed

Some content is hidden

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

2,161 files changed

+4195
-4206
lines changed

modules/openapi-generator/src/main/resources/Java/libraries/jersey2/AbstractOpenApiSchema.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public abstract class AbstractOpenApiSchema {
9595
* Convert the given object to string with each line indented by 4 spaces
9696
* (except the first line).
9797
*/
98-
private String toIndentedString(java.lang.Object o) {
98+
private String toIndentedString(Object o) {
9999
if (o == null) {
100100
return "null";
101101
}

modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
236236
* Return true if this {{name}} object is equal to o.
237237
*/
238238
@Override
239-
public boolean equals(java.lang.Object o) {
239+
public boolean equals(Object o) {
240240
{{#useReflectionEqualsHashCode}}
241241
return EqualsBuilder.reflectionEquals(this, o, false, null, true);
242242
{{/useReflectionEqualsHashCode}}
@@ -269,7 +269,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
269269
{{/supportJava6}}
270270
{{#supportJava6}}
271271
@Override
272-
public boolean equals(java.lang.Object o) {
272+
public boolean equals(Object o) {
273273
if (this == o) {
274274
return true;
275275
}
@@ -311,7 +311,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
311311
* Convert the given object to string with each line indented by 4 spaces
312312
* (except the first line).
313313
*/
314-
private String toIndentedString(java.lang.Object o) {
314+
private String toIndentedString(Object o) {
315315
if (o == null) {
316316
return "null";
317317
}

modules/openapi-generator/src/main/resources/Java/libraries/microprofile/pojo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}}{{#serializ
138138
* Convert the given object to string with each line indented by 4 spaces
139139
* (except the first line).
140140
*/
141-
private static String toIndentedString(java.lang.Object o) {
141+
private static String toIndentedString(Object o) {
142142
if (o == null) {
143143
return "null";
144144
}

modules/openapi-generator/src/main/resources/Java/pojo.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
230230
231231
{{^supportJava6}}
232232
@Override
233-
public boolean equals(java.lang.Object o) {
233+
public boolean equals(Object o) {
234234
{{#useReflectionEqualsHashCode}}
235235
return EqualsBuilder.reflectionEquals(this, o, false, null, true);
236236
{{/useReflectionEqualsHashCode}}
@@ -262,7 +262,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
262262
{{/supportJava6}}
263263
{{#supportJava6}}
264264
@Override
265-
public boolean equals(java.lang.Object o) {
265+
public boolean equals(Object o) {
266266
if (this == o) {
267267
return true;
268268
}
@@ -301,7 +301,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE
301301
* Convert the given object to string with each line indented by 4 spaces
302302
* (except the first line).
303303
*/
304-
private String toIndentedString(java.lang.Object o) {
304+
private String toIndentedString(Object o) {
305305
if (o == null) {
306306
return "null";
307307
}

modules/openapi-generator/src/main/resources/JavaInflector/pojo.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
5050
{{/vars}}
5151

5252
@Override
53-
public boolean equals(java.lang.Object o) {
53+
public boolean equals(Object o) {
5454
if (this == o) {
5555
return true;
5656
}
@@ -82,7 +82,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
8282
* Convert the given object to string with each line indented by 4 spaces
8383
* (except the first line).
8484
*/
85-
private String toIndentedString(java.lang.Object o) {
85+
private String toIndentedString(Object o) {
8686
if (o == null) {
8787
return "null";
8888
}

modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-cdi/pojo.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
7272
{{/vars}}
7373

7474
@Override
75-
public boolean equals(java.lang.Object o) {
75+
public boolean equals(Object o) {
7676
if (this == o) {
7777
return true;
7878
}
@@ -105,7 +105,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
105105
* Convert the given object to string with each line indented by 4 spaces
106106
* (except the first line).
107107
*/
108-
private String toIndentedString(java.lang.Object o) {
108+
private String toIndentedString(Object o) {
109109
if (o == null) {
110110
return "null";
111111
}

modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/pojo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}}{{#serializ
143143
* Convert the given object to string with each line indented by 4 spaces
144144
* (except the first line).
145145
*/
146-
private static String toIndentedString(java.lang.Object o) {
146+
private static String toIndentedString(Object o) {
147147
if (o == null) {
148148
return "null";
149149
}

modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/pojo.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ import com.fasterxml.jackson.annotation.JsonProperty;
109109
* Convert the given object to string with each line indented by 4 spaces
110110
* (except the first line).
111111
*/
112-
private static String toIndentedString(java.lang.Object o) {
112+
private static String toIndentedString(Object o) {
113113
if (o == null) {
114114
return "null";
115115
}

modules/openapi-generator/src/main/resources/JavaJaxRS/pojo.mustache

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
103103

104104
{{^supportJava6}}
105105
@Override
106-
public boolean equals(java.lang.Object o) {
106+
public boolean equals(Object o) {
107107
if (this == o) {
108108
return true;
109109
}
@@ -125,7 +125,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
125125
{{/supportJava6}}
126126
{{#supportJava6}}
127127
@Override
128-
public boolean equals(java.lang.Object o) {
128+
public boolean equals(Object o) {
129129
if (this == o) {
130130
return true;
131131
}
@@ -160,7 +160,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
160160
* Convert the given object to string with each line indented by 4 spaces
161161
* (except the first line).
162162
*/
163-
private String toIndentedString(java.lang.Object o) {
163+
private String toIndentedString(Object o) {
164164
if (o == null) {
165165
return "null";
166166
}

modules/openapi-generator/src/main/resources/JavaJaxRS/resteasy/pojo.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
3737
{{/vars}}
3838

3939
@Override
40-
public boolean equals(java.lang.Object o) {
40+
public boolean equals(Object o) {
4141
if (this == o) {
4242
return true;
4343
}
@@ -69,7 +69,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
6969
* Convert the given object to string with each line indented by 4 spaces
7070
* (except the first line).
7171
*/
72-
private String toIndentedString(java.lang.Object o) {
72+
private String toIndentedString(Object o) {
7373
if (o == null) {
7474
return "null";
7575
}

0 commit comments

Comments
 (0)