Load our string codes in init().

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@749 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2008-09-24 18:33:35 +00:00
parent 223ccb86a1
commit 8699c2c4c5
@@ -51,9 +51,6 @@ public class StatRepository extends DepotRepository
@Inject public StatRepository (PersistenceContext context)
{
super(context);
// load up our string set mappings
loadStringCodes(null);
}
/**
@@ -359,7 +356,16 @@ public class StatRepository extends DepotRepository
rmap.put(code, value);
}
@Override
@Override // from DepotRepository
protected void init ()
{
super.init();
// load up our string set mappings
loadStringCodes(null);
}
@Override // from DepotRepository
protected void getManagedRecords (Set<Class<? extends PersistentRecord>> classes)
{
classes.add(StatRecord.class);