Skip to content

Commit

Permalink
Update FieldEntry.java
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceWalkerRS committed Jul 12, 2023
1 parent 646166b commit 4aa17ca
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import cuchaz.enigma.translation.representation.TypeDescriptor;

import java.util.Objects;
import java.util.function.Predicate;
import javax.annotation.Nonnull;

public class FieldEntry extends ParentedEntry<ClassEntry> implements Comparable<FieldEntry> {
Expand Down Expand Up @@ -75,7 +74,7 @@ public boolean equals(FieldEntry other) {
}

@Override
public boolean canConflictWith(Entry<?> entry, Predicate<Entry<?>> isStatic) {
public boolean canConflictWith(Entry<?> entry) {
return entry instanceof FieldEntry fieldEntry && this.parent.equals(fieldEntry.parent);
}

Expand Down

0 comments on commit 4aa17ca

Please sign in to comment.