mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
fix NPE
This commit is contained in:
parent
3dd5ac34fd
commit
e12c303f0c
4 changed files with 5 additions and 5 deletions
|
@ -1185,7 +1185,7 @@ public class BoardDelegate extends DelegateBase
|
|||
|
||||
@Override
|
||||
public void inviteChoiceMade( Action action, InviteMeans means,
|
||||
Object[] params )
|
||||
Object... params )
|
||||
{
|
||||
if ( action == Action.LAUNCH_INVITE_ACTION ) {
|
||||
SentInvitesInfo info = params[0] instanceof SentInvitesInfo
|
||||
|
|
|
@ -724,7 +724,7 @@ public class DelegateBase implements DlgClickNotify,
|
|||
return false;
|
||||
}
|
||||
|
||||
public void inviteChoiceMade( Action action, DlgClickNotify.InviteMeans means, Object[] params )
|
||||
public void inviteChoiceMade( Action action, DlgClickNotify.InviteMeans means, Object... params )
|
||||
{
|
||||
// Assert.fail();
|
||||
}
|
||||
|
|
|
@ -301,7 +301,7 @@ public class DlgDelegate {
|
|||
boolean onNegButton( Action action, Object... params );
|
||||
boolean onDismissed( Action action, Object... params );
|
||||
|
||||
void inviteChoiceMade( Action action, InviteMeans means, Object[] params );
|
||||
void inviteChoiceMade( Action action, InviteMeans means, Object... params );
|
||||
}
|
||||
public interface HasDlgDelegate {
|
||||
OkOnlyBuilder makeOkOnlyBuilder( int msgID );
|
||||
|
@ -450,7 +450,7 @@ public class DlgDelegate {
|
|||
public void run() {
|
||||
DlgClickNotify.InviteMeans means
|
||||
= DlgClickNotify.InviteMeans.EMAIL;
|
||||
m_clickCallback.inviteChoiceMade( action, means, null );
|
||||
m_clickCallback.inviteChoiceMade( action, means );
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
@ -334,7 +334,7 @@ public class XWActivity extends FragmentActivity
|
|||
}
|
||||
|
||||
@Override
|
||||
public void inviteChoiceMade( Action action, InviteMeans means, Object[] params )
|
||||
public void inviteChoiceMade( Action action, InviteMeans means, Object... params )
|
||||
{
|
||||
m_dlgt.inviteChoiceMade( action, means, params );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue