Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.3
-
None
Description
With the current implementation of BrownCluster and WordClusterDictionary, a resource leak can occur as instances of Reader / Writer and the underlying Input-/OutputStream objects are not closed properly after use.
Aims:
- Ensure that try-with-resources fixes the risk of resource leaks.