You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Kaja Hovi (JIRA)" <ji...@apache.org> on 2011/06/30 21:30:29 UTC

[jira] [Created] (VYSPER-289) Mistake in documentation

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

        

[jira] [Closed] (VYSPER-289) Mistake in documentation

Posted by "Niklas Gustavsson (JIRA)" <ji...@apache.org>.
     [ 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("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