parent
72a9864788
commit
adcf236a3d
|
@ -49,14 +49,8 @@ public class Pet {
|
|||
if (o == null || getClass() != o.getClass()) {
|
||||
return false;
|
||||
}
|
||||
|
||||
final Pet pet = (Pet) o;
|
||||
|
||||
if (!Objects.equals(name, pet.name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
Pet pet = (Pet) o;
|
||||
return Objects.equals(this.name, pet.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
/*
|
||||
* Copyright 2003,2004 The Apache Software Foundation
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
|
|
|
@ -286,10 +286,7 @@ class MappingJackson2MessageConverterTests {
|
|||
return false;
|
||||
}
|
||||
MyBean bean = (MyBean) o;
|
||||
if (!Objects.equals(foo, bean.foo)) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
return Objects.equals(this.foo, bean.foo);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -276,7 +276,7 @@ class DispatcherHandlerIntegrationTests extends AbstractHttpHandlerIntegrationTe
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -147,7 +147,7 @@ class PublisherHandlerFunctionIntegrationTests extends AbstractRouterFunctionInt
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -176,7 +176,7 @@ class SseHandlerFunctionIntegrationTests extends AbstractRouterFunctionIntegrati
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -154,7 +154,7 @@ class JacksonStreamingIntegrationTests extends AbstractHttpHandlerIntegrationTes
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -713,7 +713,7 @@ class RequestMappingMessageConversionIntegrationTests extends AbstractRequestMap
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -278,7 +278,7 @@ class SseIntegrationTests extends AbstractHttpHandlerIntegrationTests {
|
|||
return false;
|
||||
}
|
||||
Person person = (Person) o;
|
||||
return !(!Objects.equals(this.name, person.name));
|
||||
return Objects.equals(this.name, person.name);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue