Anomaly identified by the detector. Please review whether this anomaly corresponds to a misuse.
Finding:
10
In File:
org/apache/lucene/index/MergePolicy.java
In Method:
(SegmentInfos, boolean)
Code with Finding:
class MergePolicy.OneMerge {
public OneMerge(SegmentInfos segments, boolean useCompoundFile) {
if (0 == segments.size())
throw new RuntimeException("segments must include at least one segment");
this.segments = segments;
this.useCompoundFile = useCompoundFile;
}
}