[jboss-jira] [JBoss JIRA] Commented: (JGRP-900) Address: remove isMulticastAddress()

Bela Ban (JIRA) jira-events at lists.jboss.org
Wed Apr 13 05:05:33 EDT 2011


    [ https://issues.jboss.org/browse/JGRP-900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12595218#comment-12595218 ] 

Bela Ban commented on JGRP-900:
-------------------------------

If we require non-null addresses to *always* be unicast addresses, then we can safely remove the isMulticast() call

> Address: remove isMulticastAddress()
> ------------------------------------
>
>                 Key: JGRP-900
>                 URL: https://issues.jboss.org/browse/JGRP-900
>             Project: JGroups
>          Issue Type: Task
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.0
>
>
> With logical addresses, we don't need this anymore:
> Address dest=msg.getDest();
> boolean mcast=dest == null || dest.isMulticastAddress();
> should be changed to
> boolean mcast=msg.isMulticastMessage(); // or isGroupMessage() ?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list