Skip to content

Commit

Permalink
Rename method handleAction to onHandleAction
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandreroman committed Aug 20, 2011
1 parent 4fe8aa6 commit e054682
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/com/pixmob/actionservice/ActionService.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ protected void onActionError(Intent intent, Exception error) {
/**
* Check if this intent should interrupt the current action. The internal
* thread executing the action will be interrupted: the methode
* {@link #handleAction(Intent)} will have to handle the
* {@link #onHandleAction(Intent)} will have to handle the
* {@link InterruptedException} error.
* @param intent to check
* @return <code>true</code> if the current action should be interrupted
Expand All @@ -187,7 +187,7 @@ protected boolean isActionCancelled(Intent intent) {
* @throws ActionExecutionFailedException if the action failed to execute
* @see #isActionCancelled(Intent)
*/
protected abstract void handleAction(Intent intent) throws ActionExecutionFailedException,
protected abstract void onHandleAction(Intent intent) throws ActionExecutionFailedException,
InterruptedException;

/**
Expand Down Expand Up @@ -224,7 +224,7 @@ public void run() {
cancelAction.set(false);

// delegate to handleAction
handleAction(nextIntent);
onHandleAction(nextIntent);
}
} catch (InterruptedException e) {
if (Thread.interrupted() && !cancelAction.get()) {
Expand Down

0 comments on commit e054682

Please sign in to comment.