Skip to content

Commit

Permalink
Properly represent return type in javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Pine committed Apr 5, 2024
1 parent 13bde5c commit 5617217
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class ControlFlowPathHelper {
private final Map<ControlFlowNode, List<List<ControlFlowNode>>> pathsMemo = new HashMap<>();

/**
* Get the set of possible paths to the exit node from a given starting node.
* Get a list of possible paths to the exit node from a given starting node.
*
* @param node Starting node
* @return Set of possible paths
* @return List of possible paths
*/
List<List<ControlFlowNode>> paths(ControlFlowNode node) {
if (pathsMemo.containsKey(node)) {
Expand All @@ -38,10 +38,10 @@ List<List<ControlFlowNode>> paths(ControlFlowNode node) {
}

/**
* Get the set of possible paths to the exit node given a set of potentially incomplete paths.
* Get a list of possible paths to the exit node given a set of potentially incomplete paths.
*
* @param prior Set of potentially incomplete paths
* @return Set of possible paths
* @return List of possible paths
*/
private List<List<ControlFlowNode>> paths(List<List<ControlFlowNode>> prior) {
List<List<ControlFlowNode>> result = new ArrayList<>();
Expand Down

0 comments on commit 5617217

Please sign in to comment.