mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-09 08:52:51 +00:00
@@ -35,11 +35,11 @@ public class AbstractModel<T extends ID<?>> implements Model<T> {
|
||||
|
||||
@Override
|
||||
public void setID(T ID) {
|
||||
if(this.id != null)
|
||||
if (this.id != null)
|
||||
throw new IllegalStateException("ID is already set");
|
||||
this.id = ID;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
|
||||
Reference in New Issue
Block a user