public boolean sameUniqueID ( String uniqueID ) { boolean equals = false ; if ( ( this . _uniqueID . compareTo ( ChannelImpl . UNKNOWN_UNIQUE_ID ) != 0 ) && ( uniqueID . compareTo ( ChannelImpl . UNKNOWN_UNIQUE_ID ) != 0 ) ) { if ( this . _uniqueID . compareTo ( uniqueID ) == 0 ) { equals = true ; } } return equals ; }
Try to match a channel based solely on its unique ID