mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-22 07:28:16 +01:00
fix array out-of-bounds exception
This commit is contained in:
parent
bb367acab3
commit
4ec930d53c
1 changed files with 2 additions and 1 deletions
|
@ -1164,7 +1164,8 @@ public class BoardDelegate extends DelegateBase
|
|||
Object... params )
|
||||
{
|
||||
if ( action == Action.LAUNCH_INVITE_ACTION ) {
|
||||
SentInvitesInfo info = params[0] instanceof SentInvitesInfo
|
||||
SentInvitesInfo info = 0 < params.length
|
||||
&& params[0] instanceof SentInvitesInfo
|
||||
? (SentInvitesInfo)params[0] : null;
|
||||
switch( means ) {
|
||||
case NFC:
|
||||
|
|
Loading…
Reference in a new issue