remove dead code

This commit is contained in:
Eric House 2017-09-02 11:24:58 -07:00
parent 1c3b5564b5
commit 5ed9d2c6aa

View file

@ -104,7 +104,6 @@ public class BoardDelegate extends DelegateBase
private Button m_exchCancelButton; private Button m_exchCancelButton;
private SentInvitesInfo m_sentInfo; private SentInvitesInfo m_sentInfo;
private Perms23.PermCbck m_permCbck; private Perms23.PermCbck m_permCbck;
private ArrayList<String> m_pendingChats;
private CommsConnTypeSet m_connTypes = null; private CommsConnTypeSet m_connTypes = null;
private String[] m_missingDevs; private String[] m_missingDevs;
@ -553,8 +552,6 @@ public class BoardDelegate extends DelegateBase
m_isFirstLaunch = null == savedInstanceState; m_isFirstLaunch = null == savedInstanceState;
getBundledData( savedInstanceState ); getBundledData( savedInstanceState );
m_pendingChats = new ArrayList<String>();
m_utils = new BoardUtilCtxt(); m_utils = new BoardUtilCtxt();
m_timers = new TimerRunnable[4]; // needs to be in sync with m_timers = new TimerRunnable[4]; // needs to be in sync with
// XWTimerReason // XWTimerReason
@ -2144,7 +2141,6 @@ public class BoardDelegate extends DelegateBase
if ( m_gi.serverRole != DeviceRole.SERVER_STANDALONE ) { if ( m_gi.serverRole != DeviceRole.SERVER_STANDALONE ) {
warnIfNoTransport(); warnIfNoTransport();
trySendChats();
tickle( isStart ); tickle( isStart );
tryInvites(); tryInvites();
} }
@ -2407,15 +2403,6 @@ public class BoardDelegate extends DelegateBase
} }
} }
private void trySendChats()
{
Iterator<String> iter = m_pendingChats.iterator();
while ( iter.hasNext() ) {
handleViaThread( JNICmd.CMD_SENDCHAT, iter.next() );
}
m_pendingChats.clear();
}
private void tryInvites() private void tryInvites()
{ {
if ( 0 < m_mySIS.nMissing && m_summary.hasRematchInfo() ) { if ( 0 < m_mySIS.nMissing && m_summary.hasRematchInfo() ) {