-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Core, TestNg] Clean up stream closing
Refactored the code around streams so it follows these rules: - Streams should be closed by their owners - A stream is owned by its creator or when provided as a constructor argument - Stream ownership should be the smallest possible unit. The method, class, process, system. - System.out and System.error may never be closed Fixes #1108
- Loading branch information
1 parent
51f0c9b
commit 33e4dde
Showing
3 changed files
with
44 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters