[
https://issues.apache.org/jira/browse/VYSPER-336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503706#comment-13503706
]
Bernd Fondermann commented on VYSPER-336:
-----------------------------------------
this code looks brittle. but it should be further investigated.
> is the status change right?
> ---------------------------
>
> Key: VYSPER-336
> URL: https://issues.apache.org/jira/browse/VYSPER-336
> Project: VYSPER
> Issue Type: Bug
> Reporter: wan jian ming
>
> in ResourceState, there is code like:
> public static ResourceState makeInterested(ResourceState inState) {
> if (inState == AVAILABLE )
> return AVAILABLE_INTERESTED;
> return CONNECTED_INTERESTED;
> }
> so when one session in AVAILABLE_INTERESTED state, can call this function
> again (client reload will send iq message, and this function will be called),
> it will return to CONNECTED_INTERESTED, is it right?
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira