logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Remko Popma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-1645) Immutable empty StringMap
Date Sat, 22 Oct 2016 10:17:58 GMT

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

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

That is true, CopyOnWriteSortedArrayThreadContextMap has its own private constant frozen empty
StringMap. We can leave that the way it is and let ContextDataFactory have a separate, public,
constant. 

> 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-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org


Mime
View raw message