1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-16 12:02:47 +00:00

Code cleanup

Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
2011-05-14 13:35:12 -03:00
parent 4b9d52e724
commit 1e52e960f5
15 changed files with 34 additions and 14 deletions

View File

@@ -13,10 +13,12 @@ public abstract class AbstractObject implements WorldObject {
*/
protected ObjectID<?> id;
@Override
public ObjectID<?> getID() {
return id;
}
@Override
public void setID(ObjectID<?> id) {
if (this.id != null)
throw new IllegalStateException("ID is already set!");