| Detector: | MuDetectXPOn |
| Target: | project ' synthetic ' versionclose-2 |
| Misuse: | misuse ' close-2 ' |
| Tags: |
Details about the known misuse from the MUBench dataset.
| Description: | Calls Closeable.close() outside of finally block, which might fail to close the resource in case of an exception. |
| Fix Description: | Call close() in finally block. |
| Violation Types: |
|
| In File: | CloseFinally.java |
| In Method: | misuse(File) |
| Code with Misuse: |
|