[
https://jira.jboss.org/jira/browse/DNA-333?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-333:
--------------------------------
Attachment: DNA-333.patch
Added patch to handle this case correctly. The patch also changes the behavior of
BasicName.getString(TextEncoder) to return the encoded local name ONLY when called. It
used to return "{}" + localName.
BasicName.getString Doesn't Use Provided TextEncoder When the
Name Has No Namespace
------------------------------------------------------------------------------------
Key: DNA-333
URL:
https://jira.jboss.org/jira/browse/DNA-333
Project: DNA
Issue Type: Bug
Components: Graph
Affects Versions: 0.4
Reporter: Brian Carothers
Attachments: DNA-333.patch
If one creates a BasicName with no namespace (e.g., "*") and calls one of the
overloaded versions of getString that allows a TextEncoder to be specified, the encoder is
not used.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira