mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
Use Object... in a few more methods
This commit is contained in:
parent
47abbf39be
commit
37b5f80e05
10 changed files with 11 additions and 11 deletions
|
@ -213,7 +213,7 @@ public class BoardDelegate extends DelegateBase
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
final DlgID dlgID = alert.getDlgID();
|
||||
Log.d( TAG, "makeDialog(%s)", dlgID.toString() );
|
||||
|
|
|
@ -428,7 +428,7 @@ public abstract class DelegateBase implements DlgClickNotify,
|
|||
return cbx.isChecked();
|
||||
}
|
||||
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
DlgID dlgID = alert.getDlgID();
|
||||
|
|
|
@ -330,7 +330,7 @@ public class DictsDelegate extends ListDelegateBase
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
OnClickListener lstnr, lstnr2;
|
||||
Dialog dialog;
|
||||
|
|
|
@ -47,7 +47,7 @@ public class DualpaneDelegate extends DelegateBase {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
MainActivity main = (MainActivity)m_activity;
|
||||
|
@ -147,7 +147,7 @@ public class DualpaneDelegate extends DelegateBase {
|
|||
|
||||
@Override
|
||||
public void inviteChoiceMade( Action action, InviteMeans means,
|
||||
Object[] params )
|
||||
Object... params )
|
||||
{
|
||||
MainActivity main = (MainActivity)m_activity;
|
||||
XWFragment[] frags = main.getVisibleFragments();
|
||||
|
|
|
@ -151,7 +151,7 @@ public class GameConfigDelegate extends DelegateBase
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
final DlgID dlgID = alert.getDlgID();
|
||||
|
|
|
@ -596,7 +596,7 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
OnClickListener lstnr, lstnr2;
|
||||
|
|
|
@ -90,7 +90,7 @@ public class KnownPlayersDelegate extends DelegateBase {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog = null;
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ public class PrefsDelegate extends DelegateBase
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( final DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( final DBAlert alert, Object... params )
|
||||
{
|
||||
final DlgID dlgID = alert.getDlgID();
|
||||
DialogInterface.OnClickListener lstnr = null;
|
||||
|
|
|
@ -143,7 +143,7 @@ public class SMSInviteDelegate extends InviteDelegate {
|
|||
}
|
||||
|
||||
@Override
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
Dialog dialog;
|
||||
DialogInterface.OnClickListener lstnr;
|
||||
|
|
|
@ -315,7 +315,7 @@ public class XWActivity extends FragmentActivity
|
|||
}
|
||||
}
|
||||
|
||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
||||
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||
{
|
||||
return m_dlgt.makeDialog( alert, params );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue