Detector: | MuDetectXP |
Target: | project ' synthetic_java8-misuses ' version96d0ccb |
Misuse: | misuse ' stream-infinite2 ' |
Tags: |
Details about the known misuse from the MUBench dataset.
Description: | Uses a stream generator without limiting the number of elements, such that processing of the stream will run forever. Limit the number of elements to a finite number to prevent this. |
Fix Description: | |
Violation Types: |
|
In File: | com/xpinjection/java8/misused/stream/incorrect/InfiniteStreams.java |
In Method: | infinite() |
Code with Misuse: |
|