mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kaja Hovi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (VYSPER-289) Mistake in documentation
Date Thu, 30 Jun 2011 19:30:29 GMT
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("user1@myembeddedjabber.com", "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("user1@myembeddedjabber.com"), "password1");



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

        

Mime
View raw message