add missing Overrides -- in one file

This commit is contained in:
Eric House 2018-07-26 07:24:23 -07:00
parent 70b22f7d11
commit a65498c132

View file

@ -136,6 +136,7 @@ public class BoardDelegate extends DelegateBase
m_when = when; m_when = when;
m_handle = handle; m_handle = handle;
} }
@Override
public void run() { public void run() {
m_timers[m_why] = null; m_timers[m_why] = null;
if ( null != m_jniThread ) { if ( null != m_jniThread ) {
@ -1117,6 +1118,7 @@ public class BoardDelegate extends DelegateBase
case ENABLE_SMS_DO: case ENABLE_SMS_DO:
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
retrySMSInvites( params ); retrySMSInvites( params );
} }
@ -1164,6 +1166,7 @@ public class BoardDelegate extends DelegateBase
case ENABLE_RELAY_DO_OR: case ENABLE_RELAY_DO_OR:
if ( m_dropOnDismiss ) { if ( m_dropOnDismiss ) {
postDelayed( new Runnable() { postDelayed( new Runnable() {
@Override
public void run() { public void run() {
askDropRelay(); askDropRelay();
} }
@ -1270,6 +1273,7 @@ public class BoardDelegate extends DelegateBase
int gameID = (Integer)args[0]; int gameID = (Integer)args[0];
if ( gameID == m_gi.gameID ) { if ( gameID == m_gi.gameID ) {
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
showDialogFragment( DlgID.DLG_DELETED ); showDialogFragment( DlgID.DLG_DELETED );
} }
@ -1291,6 +1295,7 @@ public class BoardDelegate extends DelegateBase
final String msg = final String msg =
getString( R.string.err_dup_invite_fmt, (String)args[0] ); getString( R.string.err_dup_invite_fmt, (String)args[0] );
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
makeOkOnlyBuilder( msg ).show(); makeOkOnlyBuilder( msg ).show();
} }
@ -1329,6 +1334,7 @@ public class BoardDelegate extends DelegateBase
final boolean allHere, final int nMissing ) final boolean allHere, final int nMissing )
{ {
runOnUiThread( new Runnable() { runOnUiThread( new Runnable() {
@Override
public void run() { public void run() {
handleConndMessage( room, devOrder, allHere, nMissing ); // from here too handleConndMessage( room, devOrder, allHere, nMissing ); // from here too
} }
@ -1382,6 +1388,7 @@ public class BoardDelegate extends DelegateBase
final int strIDf = strID; final int strIDf = strID;
final DlgID dlgIDf = dlgID; final DlgID dlgIDf = dlgID;
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
showDialogFragment( dlgIDf, R.string.relay_alert, showDialogFragment( dlgIDf, R.string.relay_alert,
getString( strIDf ) ); getString( strIDf ) );
@ -1398,6 +1405,7 @@ public class BoardDelegate extends DelegateBase
{ {
if ( success ) { if ( success ) {
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
setGotGameDict( name ); setGotGameDict( name );
} }
@ -1453,6 +1461,7 @@ public class BoardDelegate extends DelegateBase
public void invalidateParent() public void invalidateParent()
{ {
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override
public void run() { public void run() {
m_view.invalidate(); m_view.invalidate();
} }
@ -1463,6 +1472,7 @@ public class BoardDelegate extends DelegateBase
{ {
final String msg = ConnStatusHandler.getStatusText( m_activity, m_connTypes ); final String msg = ConnStatusHandler.getStatusText( m_activity, m_connTypes );
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
if ( null == msg ) { if ( null == msg ) {
askNoAddrsDelete(); askNoAddrsDelete();
@ -1628,6 +1638,7 @@ public class BoardDelegate extends DelegateBase
public void requestTime() public void requestTime()
{ {
runOnUiThread( new Runnable() { runOnUiThread( new Runnable() {
@Override
public void run() { public void run() {
if ( null != m_jniThread ) { if ( null != m_jniThread ) {
m_jniThread.handleBkgrnd( JNICmd.CMD_DO ); m_jniThread.handleBkgrnd( JNICmd.CMD_DO );
@ -1679,6 +1690,7 @@ public class BoardDelegate extends DelegateBase
if ( 0 != id ) { if ( 0 != id ) {
final String bonusStr = getString( id ); final String bonusStr = getString( id );
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
showToast( bonusStr ); showToast( bonusStr );
} }
@ -1697,6 +1709,7 @@ public class BoardDelegate extends DelegateBase
} }
final String text = expl; final String text = expl;
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
showToast( text ); showToast( text );
} }
@ -1707,6 +1720,7 @@ public class BoardDelegate extends DelegateBase
public void cellSquareHeld( final String words ) public void cellSquareHeld( final String words )
{ {
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
launchLookup( wordsToArray( words ), m_gi.dictLang ); launchLookup( wordsToArray( words ), m_gi.dictLang );
} }
@ -1788,6 +1802,7 @@ public class BoardDelegate extends DelegateBase
if ( 0 <= newTurn ) { if ( 0 <= newTurn ) {
m_mySIS.nMissing = 0; m_mySIS.nMissing = 0;
post( new Runnable() { post( new Runnable() {
@Override
public void run() { public void run() {
makeNotAgainBuilder( R.string.not_again_turnchanged, makeNotAgainBuilder( R.string.not_again_turnchanged,
R.string.key_notagain_turnchanged ) R.string.key_notagain_turnchanged )
@ -1880,6 +1895,7 @@ public class BoardDelegate extends DelegateBase
if ( asToast ) { if ( asToast ) {
final int residf = resid; final int residf = resid;
runOnUiThread( new Runnable() { runOnUiThread( new Runnable() {
@Override
public void run() { public void run() {
showToast( residf ); showToast( residf );
} }
@ -2022,6 +2038,7 @@ public class BoardDelegate extends DelegateBase
String fromPlayer, final int tsSeconds ) String fromPlayer, final int tsSeconds )
{ {
runOnUiThread( new Runnable() { runOnUiThread( new Runnable() {
@Override
public void run() { public void run() {
DBUtils.appendChatHistory( m_activity, m_rowid, msg, DBUtils.appendChatHistory( m_activity, m_rowid, msg,
fromIndx, tsSeconds ); fromIndx, tsSeconds );
@ -2544,6 +2561,7 @@ public class BoardDelegate extends DelegateBase
if ( keepOn ) { if ( keepOn ) {
if ( null == m_screenTimer ) { if ( null == m_screenTimer ) {
m_screenTimer = new Runnable() { m_screenTimer = new Runnable() {
@Override
public void run() { public void run() {
if ( null != m_view ) { if ( null != m_view ) {
m_view.setKeepScreenOn( false ); m_view.setKeepScreenOn( false );