You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Aaron Mulder (JIRA)" <de...@geronimo.apache.org> on 2005/07/13 22:28:11 UTC

[jira] Commented: (GERONIMO-753) GBeanName.matches does not respect quotes

    [ http://issues.apache.org/jira/browse/GERONIMO-753?page=comments#action_12315781 ] 

Aaron Mulder commented on GERONIMO-753:
---------------------------------------

This came up due to the behavior of Configuration.getConfigurationObjectName

> GBeanName.matches does not respect quotes
> -----------------------------------------
>
>          Key: GERONIMO-753
>          URL: http://issues.apache.org/jira/browse/GERONIMO-753
>      Project: Geronimo
>         Type: Bug
>     Versions: 1.0-M3
>     Reporter: Aaron Mulder

>
> It seems that it's legal to quote a component in an ObjectName:  domain:key="value"
> When that ObjectName is turned into a GBeanName, it retains the quotes.  When you compare an unquoted key=value to it (in GBeanName.matches and likely in equals too) the values are treated as different, even though they are the same except for the quotes and should be recognized as identical.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira