Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nfs: do not use CDC as try-with-resource
in a cunstruction like: try (CDC ignored = new CDC()) { .... } catch (Exception e) { log.error(e); } the catch block will not have a correct context. Use try-catch-finally instead. Acked-by: Gerd Behrmann Target: master, 2.9, 2.8, 2.7 Require-book: no Require-notes: no (cherry picked from commit c34be64) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> (cherry picked from commit c4fef0c) Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
- Loading branch information
Showing
2 changed files
with
10 additions
and
4 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