Carlos Muñoz Rodriguez created LOG4NET-390:
----------------------------------------------

             Summary: ReadOnlyAppenderCollection.ToArray returns empty array
                 Key: LOG4NET-390
                 URL: https://issues.apache.org/jira/browse/LOG4NET-390
             Project: Log4net
          Issue Type: Bug
          Components: Appenders
    Affects Versions: 1.2.11, 1.2.10, 1.2.9, 1.2.12
            Reporter: Carlos Muñoz Rodriguez
            Priority: Minor


log4net.Appender.AppenderCollection.ReadOnlyAppenderCollection does not 
override ToArray().
As a consequence ToArray calls returns always empty collections.

Fix:
public override IAppender[] ToArray()
{
    return m_collection.ToArray();
}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to