Detector: | Jadet |
Target: | project ' synthetic_survey ' versionjsl |
Misuse: | misuse ' fisexists ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Open a FileInputStream on a non-existing file throws. |
Fix Description: | Check File.exists() first. |
Violation Types: |
|
In File: | mubench/examples/survey/FISExists.java |
In Method: | misuse(File) |
Code with Misuse: |
|
Code with Pattern(s): |
|