- Reformatted Code using IntelliJ
This commit is contained in:
@@ -2,7 +2,7 @@ package dev.unlegitdqrk.unlegitlibrary.addon.impl;
|
||||
|
||||
import dev.unlegitdqrk.unlegitlibrary.event.EventManager;
|
||||
|
||||
public record AddonInfo(String name, String version, String author, EventManager eventManager) {
|
||||
public final record AddonInfo(String name, String version, String author, EventManager eventManager) {
|
||||
|
||||
@Override
|
||||
protected AddonInfo clone() throws CloneNotSupportedException {
|
||||
@@ -14,9 +14,4 @@ public record AddonInfo(String name, String version, String author, EventManager
|
||||
if (!(obj instanceof AddonInfo other)) return false;
|
||||
return other.name.equalsIgnoreCase(name) && other.version.equalsIgnoreCase(version) && other.author.equalsIgnoreCase(author);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return super.hashCode();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user