-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-15523. Fix findbugs warnings. #2218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
liuml07
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 As long as we do not need the print2File.
If we ditch FileWriter totally one day, we can new PrintWriter(new OutputStreamWriter(new FileOutputStream(f), StandardCharsets.UTF_8), true) to specify the encoding.
|
@liuml07 , Thanks the review and the hint. |
|
💔 -1 overall
This message was automatically generated. |
Change-Id: Ifcff902115f5c0a178ffca0c86060282d7d4f2ec (cherry picked from commit 3e056a4)
See https://issues.apache.org/jira/browse/HDFS-15523