plugins: prevent plugins from overriding equals and hashCode

This has no legitimate use and several parts of the core assume that they are not overridden
This commit is contained in:
Adam
2022-02-03 18:57:02 -05:00
parent aaf4adaea0
commit 3f3f3dc97b

View File

@@ -32,6 +32,18 @@ public abstract class Plugin implements Module
{
protected Injector injector;
@Override
public final int hashCode()
{
return super.hashCode();
}
@Override
public final boolean equals(Object obj)
{
return super.equals(obj);
}
@Override
public void configure(Binder binder)
{