[ 
https://issues.apache.org/jira/browse/LOG4J2-1645?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15597221#comment-15597221
 ] 

Remko Popma commented on LOG4J2-1645:
-------------------------------------

Do we really need to add a new class for this? Can't we put a frozen 
{{SortedArrayStringMap}} instance in a public shared constant somewhere, 
perhaps in the factory class? That would increase the API surface by a minimal 
amount.  

> Immutable empty StringMap
> -------------------------
>
>                 Key: LOG4J2-1645
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1645
>             Project: Log4j 2
>          Issue Type: Improvement
>    Affects Versions: 2.7
>            Reporter: Mikael Ståldal
>            Assignee: Mikael Ståldal
>            Priority: Minor
>
> It would be useful for implementors of {{ContextDataInjector}} to have an 
> immutable empty implementation of {{StringMap}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to