cleanup: "Then" implies Action

This commit is contained in:
Eric House 2016-08-15 12:11:17 -07:00
parent c36adeebbd
commit 25823aec74
2 changed files with 5 additions and 5 deletions

View file

@ -548,7 +548,7 @@ public class DelegateBase implements DlgClickNotify,
protected void showOKOnlyDialogThen( String msg, Action action ) protected void showOKOnlyDialogThen( String msg, Action action )
{ {
m_dlgDelegate.showOKOnlyDialog( msg, action ); m_dlgDelegate.showOKOnlyDialogThen( msg, action );
} }
protected void startProgress( int titleID, int msgID ) protected void startProgress( int titleID, int msgID )

View file

@ -385,10 +385,10 @@ public class DlgDelegate {
public void showOKOnlyDialog( String msg ) public void showOKOnlyDialog( String msg )
{ {
showOKOnlyDialog( msg, Action.SKIP_CALLBACK ); showOKOnlyDialogThen( msg, Action.SKIP_CALLBACK );
} }
public void showOKOnlyDialog( String msg, Action action ) public void showOKOnlyDialogThen( String msg, Action action )
{ {
// Assert.assertNull( m_dlgStates ); // Assert.assertNull( m_dlgStates );
DlgState state = new DlgState( DlgID.DIALOG_OKONLY, msg, action ); DlgState state = new DlgState( DlgID.DIALOG_OKONLY, msg, action );
@ -398,7 +398,7 @@ public class DlgDelegate {
public void showOKOnlyDialog( int msgID ) public void showOKOnlyDialog( int msgID )
{ {
showOKOnlyDialog( getString( msgID ), Action.SKIP_CALLBACK ); showOKOnlyDialogThen( getString( msgID ), Action.SKIP_CALLBACK );
} }
public void showDictGoneFinish() public void showDictGoneFinish()
@ -569,7 +569,7 @@ public class DlgDelegate {
post( new Runnable() { post( new Runnable() {
public void run() { public void run() {
if ( asDlg ) { if ( asDlg ) {
showOKOnlyDialog( fmsg, Action.SKIP_CALLBACK ); showOKOnlyDialog( fmsg );
} else { } else {
DbgUtils.showf( m_activity, fmsg ); DbgUtils.showf( m_activity, fmsg );
} }