Commit first, ask questions later, that's what I always say.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2629 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2009-09-04 01:51:20 +00:00
parent 669d77a097
commit 9f98fce1eb
+3 -3
View File
@@ -18,8 +18,8 @@ public abstract class ResultUnit<T> extends RepositoryUnit
throws Exception; throws Exception;
/** /**
* Operates on the result from <code>getResult</code> back on the main thread, if * Operates on the result from <code>computeResult</code> back on the main thread, if
* <code>getResult</code> succeeded. * <code>computeResult</code> succeeded.
*/ */
public abstract void handleResult (T result); public abstract void handleResult (T result);
@@ -33,7 +33,7 @@ public abstract class ResultUnit<T> extends RepositoryUnit
public void invokePersist () public void invokePersist ()
throws Exception throws Exception
{ {
_result = getResult(); _result = computeResult();
} }
protected T _result; protected T _result;