Skip to content

Commit 235772d

Browse files
committed
Fix return type.
1 parent 9b11850 commit 235772d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

byte-buddy-dep/src/main/java/net/bytebuddy/implementation/EqualsMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public EqualsMethod withFieldOrder(Comparator<? super FieldDescription.InDefined
227227
* @return A new version of this equals method implementation that permits subclasses of the instrumented type to be equal to instances
228228
* of the instrumented type instead of requiring an exact match.
229229
*/
230-
public Implementation withSubclassEquality() {
230+
public EqualsMethod withSubclassEquality() {
231231
return new EqualsMethod(superClassCheck, TypeCompatibilityCheck.SUBCLASS, ignored, nonNullable, identity, comparator);
232232
}
233233

0 commit comments

Comments
 (0)