| Detector: | MuDetectOPAL_180330 |
| Target: | project ' synthetic_survey ' versionjsl |
| 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: | mubench/examples/survey/Close.java |
| In Method: | missingFinally(File) |
| Code with Misuse: |
|
| Code with Pattern(s): |
|