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
            Priority: Trivial


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