continue;
}
if (u instanceof SchemaUpgrade)
{
SchemaUpgrade su = (SchemaUpgrade)u;
dataSource = su.getDataSource();
if (dataSourceSet.contains(dataSource))
{
PersistenceAdapter adapter = (PersistenceAdapter)dataSource.getComponent().getInstance(m_context);
adapter.upgrade(su, Upgrade.getState(stateMap, su), version);
}
else
{
su.apply(Upgrade.getState(stateMap, su));
}
}
else if (u instanceof ScriptUpgrade)
{
Function fun = ((ScriptUpgrade)u).getFunction();