mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
fix NPE reported by crittercism
This commit is contained in:
parent
b500a4646d
commit
1959ff3b2d
1 changed files with 2 additions and 1 deletions
|
@ -2119,7 +2119,8 @@ public class BoardDelegate extends DelegateBase
|
|||
|
||||
private void pingBTRemotes()
|
||||
{
|
||||
if ( m_connTypes.contains( CommsConnType.COMMS_CONN_BT ) ) {
|
||||
if ( null != m_connTypes
|
||||
&& m_connTypes.contains( CommsConnType.COMMS_CONN_BT ) ) {
|
||||
CommsAddrRec[] addrs = XwJNI.comms_getAddrs( m_jniGamePtr );
|
||||
for ( CommsAddrRec addr : addrs ) {
|
||||
if ( addr.contains( CommsConnType.COMMS_CONN_BT ) ) {
|
||||
|
|
Loading…
Reference in a new issue