Bug 38564 - the documentation describes wrong the "encoding" field in WriterAppender
Summary: the documentation describes wrong the "encoding" field in WriterAppender
Status: RESOLVED FIXED
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: All All
: P4 trivial
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-08 11:30 UTC by Tsirkin Evgeny
Modified: 2006-08-01 15:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tsirkin Evgeny 2006-02-08 11:30:14 UTC
while the docs says that :
encoding

protected String encoding

    The encoding to use when opening an InputStream.

    The encoding variable is set to null by default which results in the
utilization of the system's default encoding.

This is actually wrong :
It should be "the encoding to use when opening an *OutputStream*".
Comment 1 Curt Arnold 2006-08-01 22:05:25 UTC
Committed rev 427762 for trunk and 427763 for 1.2.x branch.