mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
add qldoc to union(xs, ys)
This commit is contained in:
@@ -223,6 +223,10 @@ public class CFGExtractor {
|
||||
return output;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates an order preserving concatenation of the nodes in `xs` and `ys` without duplicates.
|
||||
* Returns `null`, or an `INode` or a `List<Node>`.
|
||||
*/
|
||||
private static Object union(Object xs, Object ys) {
|
||||
if (xs == null) return ys;
|
||||
if (ys == null) return xs;
|
||||
|
||||
Reference in New Issue
Block a user