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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user