Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for visitCycle (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Graph.java

        synchronized void addEdge(String from, String to) throws CycleDetectedException {
            if (graph.computeIfAbsent(from, l -> new HashSet<>()).add(to)) {
                List<String> cycle = visitCycle(graph, Collections.singleton(to), new HashMap<>(), new LinkedList<>());
                if (cycle != null) {
                    // remove edge which introduced cycle
                    throw new CycleDetectedException(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.4K bytes
    - Click Count (0)
Back to Top