You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Julien Lavigne du Cadet (JIRA)" <qp...@incubator.apache.org> on 2009/06/10 18:32:07 UTC

[jira] Created: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

ToString() on UUID class should override and not hide Object.ToString()
-----------------------------------------------------------------------

                 Key: QPID-1897
                 URL: https://issues.apache.org/jira/browse/QPID-1897
             Project: Qpid
          Issue Type: Bug
          Components: Dot Net Client
    Affects Versions: 0.5
            Reporter: Julien Lavigne du Cadet


signature should be change from 
public new String ToString()
to
public overrideString ToString()

Currently, if you to something like :
string queueName = _queuePrefix + _uuid
then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

Posted by "Julien Lavigne du Cadet (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Lavigne du Cadet updated QPID-1897:
------------------------------------------

    Attachment: UUID.patch

Patch file to fix the issue

> ToString() on UUID class should override and not hide Object.ToString()
> -----------------------------------------------------------------------
>
>                 Key: QPID-1897
>                 URL: https://issues.apache.org/jira/browse/QPID-1897
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: 0.5
>            Reporter: Julien Lavigne du Cadet
>         Attachments: UUID.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> signature should be change from 
> public new String ToString()
> to
> public overrideString ToString()
> Currently, if you to something like :
> string queueName = _queuePrefix + _uuid
> then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Resolved: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross resolved QPID-1897.
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.6

> ToString() on UUID class should override and not hide Object.ToString()
> -----------------------------------------------------------------------
>
>                 Key: QPID-1897
>                 URL: https://issues.apache.org/jira/browse/QPID-1897
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: 0.5
>            Reporter: Julien Lavigne du Cadet
>            Assignee: Ted Ross
>             Fix For: 0.6
>
>         Attachments: UUID-equals.patch, UUID.patch, UUID.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> signature should be change from 
> public new String ToString()
> to
> public overrideString ToString()
> Currently, if you to something like :
> string queueName = _queuePrefix + _uuid
> then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Assigned: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

Posted by "Ted Ross (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Ross reassigned QPID-1897:
------------------------------

    Assignee: Ted Ross

> ToString() on UUID class should override and not hide Object.ToString()
> -----------------------------------------------------------------------
>
>                 Key: QPID-1897
>                 URL: https://issues.apache.org/jira/browse/QPID-1897
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: 0.5
>            Reporter: Julien Lavigne du Cadet
>            Assignee: Ted Ross
>         Attachments: UUID-equals.patch, UUID.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> signature should be change from 
> public new String ToString()
> to
> public overrideString ToString()
> Currently, if you to something like :
> string queueName = _queuePrefix + _uuid
> then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

Posted by "Julien Lavigne du Cadet (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Lavigne du Cadet updated QPID-1897:
------------------------------------------

    Attachment: UUID.patch

Third patch to fix an issue with randomUUID this time

> ToString() on UUID class should override and not hide Object.ToString()
> -----------------------------------------------------------------------
>
>                 Key: QPID-1897
>                 URL: https://issues.apache.org/jira/browse/QPID-1897
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: 0.5
>            Reporter: Julien Lavigne du Cadet
>            Assignee: Ted Ross
>         Attachments: UUID-equals.patch, UUID.patch, UUID.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> signature should be change from 
> public new String ToString()
> to
> public overrideString ToString()
> Currently, if you to something like :
> string queueName = _queuePrefix + _uuid
> then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


[jira] Updated: (QPID-1897) ToString() on UUID class should override and not hide Object.ToString()

Posted by "Julien Lavigne du Cadet (JIRA)" <qp...@incubator.apache.org>.
     [ https://issues.apache.org/jira/browse/QPID-1897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julien Lavigne du Cadet updated QPID-1897:
------------------------------------------

    Attachment: UUID-equals.patch

Equality operators should also be overriden so that two instance of UUID with the same value are equals. See attached patch

> ToString() on UUID class should override and not hide Object.ToString()
> -----------------------------------------------------------------------
>
>                 Key: QPID-1897
>                 URL: https://issues.apache.org/jira/browse/QPID-1897
>             Project: Qpid
>          Issue Type: Bug
>          Components: Dot Net Client
>    Affects Versions: 0.5
>            Reporter: Julien Lavigne du Cadet
>         Attachments: UUID-equals.patch, UUID.patch
>
>   Original Estimate: 0.17h
>  Remaining Estimate: 0.17h
>
> signature should be change from 
> public new String ToString()
> to
> public overrideString ToString()
> Currently, if you to something like :
> string queueName = _queuePrefix + _uuid
> then queueName would look like "reply.org.apache.qpid.transport.util.UUID" assuming that _queuePrefix == "Reply."

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org