You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2006/07/01 01:38:30 UTC

[jira] Created: (MYFACES-1348) ExternalContext Maps do not have useful implementation of toString()

ExternalContext Maps do not have useful implementation of toString()
--------------------------------------------------------------------

         Key: MYFACES-1348
         URL: http://issues.apache.org/jira/browse/MYFACES-1348
     Project: MyFaces Core
        Type: Improvement

  Components: JSR-127  
    Versions: 1.1.3    
    Reporter: Adam Winer
    Priority: Minor


java.util.AbstractMap (as well as AbstractSet, etc)  have very useful default implementations of toString() which are extremely handy for debugging.  org.apache.myfaces.context.servlet.AbstractAttributeMap implements Map directly without providing an implementation of toString().  

Extending AbstractMap (and AbstractSet where appropriate) would be the simplest way to approach this (and could be used to reduce the size of AbstractAttributeMap.)

-- 
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


[jira] Commented: (MYFACES-1348) ExternalContext Maps do not have useful implementation of toString()

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ http://issues.apache.org/jira/browse/MYFACES-1348?page=comments#action_12430699 ] 
            
Matthias Weßendorf commented on MYFACES-1348:
---------------------------------------------

lazily extended AbstractMap. No clean up yet.

> ExternalContext Maps do not have useful implementation of toString()
> --------------------------------------------------------------------
>
>                 Key: MYFACES-1348
>                 URL: http://issues.apache.org/jira/browse/MYFACES-1348
>             Project: MyFaces Core
>          Issue Type: Improvement
>          Components: JSR-127
>    Affects Versions: 1.1.3
>            Reporter: Adam Winer
>            Priority: Minor
>
> java.util.AbstractMap (as well as AbstractSet, etc)  have very useful default implementations of toString() which are extremely handy for debugging.  org.apache.myfaces.context.servlet.AbstractAttributeMap implements Map directly without providing an implementation of toString().  
> Extending AbstractMap (and AbstractSet where appropriate) would be the simplest way to approach this (and could be used to reduce the size of AbstractAttributeMap.)

-- 
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