mirror of https://github.com/apache/jclouds.git
Add missing @Override annotations
This commit is contained in:
parent
1f1f4f0a49
commit
11b778bbb9
|
@ -134,6 +134,7 @@ public final class DeserializationConstructorAndReflectiveTypeAdapterFactoryTest
|
|||
this.bar = bar;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
ValidatedConstructor other = ValidatedConstructor.class.cast(obj);
|
||||
return other != null && Objects.equal(foo, other.foo) && Objects.equal(bar, other.bar);
|
||||
|
@ -194,6 +195,7 @@ public final class DeserializationConstructorAndReflectiveTypeAdapterFactoryTest
|
|||
this.bar = bar;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
RenamedFields other = RenamedFields.class.cast(obj);
|
||||
return other != null && Objects.equal(foo, other.foo) && Objects.equal(bar, other.bar);
|
||||
|
@ -228,6 +230,7 @@ public final class DeserializationConstructorAndReflectiveTypeAdapterFactoryTest
|
|||
this.y = checkNotNull(y);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
ComposedObjects other = ComposedObjects.class.cast(obj);
|
||||
return other != null && Objects.equal(x, other.x) && Objects.equal(y, other.y);
|
||||
|
|
|
@ -63,6 +63,7 @@ public class OptionalTypeAdapterFactoryTest {
|
|||
return someOtherValue;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object other) {
|
||||
SimpleBean that = SimpleBean.class.cast(other);
|
||||
return Objects.equal(value, that.value) && Objects.equal(someOtherValue, that.someOtherValue);
|
||||
|
|
Loading…
Reference in New Issue