Revert r739. The consensus is that getDetail is too heavyweight for something that can just be parsed out of the name.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@740 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Charlie Groves
2008-09-12 02:02:59 +00:00
parent 890628a5e4
commit 02ec2e68a9
2 changed files with 2 additions and 12 deletions
@@ -158,16 +158,11 @@ public class SceneManager extends PlaceManager
// and apply and store it in the repository
if (isPersistent()) {
_invoker.postUnit(new WriteOnlyUnit("recordUpdate") {
_invoker.postUnit(new WriteOnlyUnit("recordUpdate(" + update + ")") {
@Override
public void invokePersist () throws Exception {
_screg.getSceneRepository().applyAndRecordUpdate(_scene.getSceneModel(), update);
}
@Override
public String getDetail () {
return update.toString();
}
});
}
@@ -166,7 +166,7 @@ public class SceneRegistry
// otherwise we have to load the scene from the repository
final int fsceneId = sceneId;
_invoker.postUnit(new RepositoryUnit("resolveScene") {
_invoker.postUnit(new RepositoryUnit("resolveScene(" + sceneId + ")") {
@Override
public void invokePersist () throws Exception {
_model = _screp.loadSceneModel(fsceneId);
@@ -180,11 +180,6 @@ public class SceneRegistry
public void handleFailure (Exception error) {
processFailedResolution(fsceneId, error);
}
@Override
public String getDetail ()
{
return "" + fsceneId;
}
protected SceneModel _model;
protected UpdateList _updates;
});