[jboss-jira] [JBoss JIRA] Commented: (JGRP-762) Protocol: setProperties() mostly no-op but still called by users
Bela Ban (JIRA)
jira-events at lists.jboss.org
Fri May 23 12:33:42 EDT 2008
[ http://jira.jboss.com/jira/browse/JGRP-762?page=comments#action_12414086 ]
Bela Ban commented on JGRP-762:
-------------------------------
Look at the code: the protocols can still use setProperties() if needed (although the goal would be to remove it in all protocols). But no client code (e.g. mostly testing code) should call prot.setProperties() directly. That's why I made it protected (from public)
> Protocol: setProperties() mostly no-op but still called by users
> ----------------------------------------------------------------
>
> Key: JGRP-762
> URL: http://jira.jboss.com/jira/browse/JGRP-762
> Project: JGroups
> Issue Type: Bug
> Reporter: Bela Ban
> Assigned To: Bela Ban
> Fix For: 2.7
>
>
> Some clients still call Protocol.setProperties() to programmatically set props in a protocol. However, since this method was cut out or reduced with @Property, it will most likely not set a property correctly !
> SOLUTION: track all occurences of setProperties() and replace them with proper setters
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list