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
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
final DlgID dlgID = alert.getDlgID();
|
final DlgID dlgID = alert.getDlgID();
|
||||||
Log.d( TAG, "makeDialog(%s)", dlgID.toString() );
|
Log.d( TAG, "makeDialog(%s)", dlgID.toString() );
|
||||||
|
|
|
@ -428,7 +428,7 @@ public abstract class DelegateBase implements DlgClickNotify,
|
||||||
return cbx.isChecked();
|
return cbx.isChecked();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog = null;
|
Dialog dialog = null;
|
||||||
DlgID dlgID = alert.getDlgID();
|
DlgID dlgID = alert.getDlgID();
|
||||||
|
|
|
@ -330,7 +330,7 @@ public class DictsDelegate extends ListDelegateBase
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
OnClickListener lstnr, lstnr2;
|
OnClickListener lstnr, lstnr2;
|
||||||
Dialog dialog;
|
Dialog dialog;
|
||||||
|
|
|
@ -47,7 +47,7 @@ public class DualpaneDelegate extends DelegateBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog = null;
|
Dialog dialog = null;
|
||||||
MainActivity main = (MainActivity)m_activity;
|
MainActivity main = (MainActivity)m_activity;
|
||||||
|
@ -147,7 +147,7 @@ public class DualpaneDelegate extends DelegateBase {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inviteChoiceMade( Action action, InviteMeans means,
|
public void inviteChoiceMade( Action action, InviteMeans means,
|
||||||
Object[] params )
|
Object... params )
|
||||||
{
|
{
|
||||||
MainActivity main = (MainActivity)m_activity;
|
MainActivity main = (MainActivity)m_activity;
|
||||||
XWFragment[] frags = main.getVisibleFragments();
|
XWFragment[] frags = main.getVisibleFragments();
|
||||||
|
|
|
@ -151,7 +151,7 @@ public class GameConfigDelegate extends DelegateBase
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog = null;
|
Dialog dialog = null;
|
||||||
final DlgID dlgID = alert.getDlgID();
|
final DlgID dlgID = alert.getDlgID();
|
||||||
|
|
|
@ -596,7 +596,7 @@ public class GamesListDelegate extends ListDelegateBase
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog = null;
|
Dialog dialog = null;
|
||||||
OnClickListener lstnr, lstnr2;
|
OnClickListener lstnr, lstnr2;
|
||||||
|
|
|
@ -90,7 +90,7 @@ public class KnownPlayersDelegate extends DelegateBase {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog = null;
|
Dialog dialog = null;
|
||||||
|
|
||||||
|
|
|
@ -81,7 +81,7 @@ public class PrefsDelegate extends DelegateBase
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( final DBAlert alert, Object[] params )
|
protected Dialog makeDialog( final DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
final DlgID dlgID = alert.getDlgID();
|
final DlgID dlgID = alert.getDlgID();
|
||||||
DialogInterface.OnClickListener lstnr = null;
|
DialogInterface.OnClickListener lstnr = null;
|
||||||
|
|
|
@ -143,7 +143,7 @@ public class SMSInviteDelegate extends InviteDelegate {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Dialog makeDialog( DBAlert alert, Object[] params )
|
protected Dialog makeDialog( DBAlert alert, Object... params )
|
||||||
{
|
{
|
||||||
Dialog dialog;
|
Dialog dialog;
|
||||||
DialogInterface.OnClickListener lstnr;
|
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 );
|
return m_dlgt.makeDialog( alert, params );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue