Bug 38564 - the documentation describes wrong the "encoding" field in WriterAppender
the documentation describes wrong the "encoding" field in WriterAppender
Status: RESOLVED FIXED
Product: Log4j
Classification: Unclassified
Component: Other
1.2
All All
: P4 trivial
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
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.