[ 
https://issues.apache.org/jira/browse/VYSPER-289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Niklas Gustavsson closed VYSPER-289.
------------------------------------

    Resolution: Fixed
      Assignee: Niklas Gustavsson

Thanks, fixed now (will take some time to replicate)!

> Mistake in documentation
> ------------------------
>
>                 Key: VYSPER-289
>                 URL: https://issues.apache.org/jira/browse/VYSPER-289
>             Project: VYSPER
>          Issue Type: Bug
>    Affects Versions: 0.7
>         Environment: windows
>            Reporter: Kaja Hovi
>            Assignee: Niklas Gustavsson
>            Priority: Trivial
>              Labels: documentation
>
> I hope I am posting correct issue type, sorry if not.
> In documentation at:
> http://mina.apache.org/vysper/embed-into-another-application.html
> There is for example line of code:
> accountManagement.addUser("[email protected]", "password1");
> but in version 0.7 method:
> org.apache.vysper.xmpp.authorization.AccountManagement.addUser
> accepts first parameter of type:
> org.apache.vysper.xmpp.addressing.Entity
> I guess the new correct way could be this:
> accountManagement.addUser(EntityImpl.parse("[email protected]"), 
> "password1");

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

        

Reply via email to