abstractdog commented on code in PR #402:
URL: https://github.com/apache/tez/pull/402#discussion_r2698711055
##########
tez-dag/src/main/java/org/apache/tez/dag/app/web/AMWebController.java:
##########
@@ -893,28 +893,29 @@ public static class StaticAMView extends View {
@Override
public void render() {
response().setContentType(MimeType.HTML);
- PrintWriter pw = writer();
Review Comment:
what about a separate method like:
```
try (PrintWriter pw = writer()) {
render(pw);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]