1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-05 23:22:47 +00:00

Implements better logging while loading ID cache

This commit is contained in:
2011-12-26 15:16:39 -02:00
parent c62d9c86ec
commit b562920831
2 changed files with 24 additions and 8 deletions

View File

@@ -205,5 +205,17 @@ public abstract class AbstractDAO<T extends Model<?>, I extends ID<?>>
return database;
}
/**
* Wraps the {@link Model}<?> array into an more specific array
*
* @param objects
* the arrays of objects to be "casted"
* @return the wrapped array
*/
protected abstract T[] wrap(Model<?>... objects);
@Override
public String toString() {
return this.getClass().getSimpleName();
}
}