This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.deklanowski.karaf.commands.dependency.internal; | |
import com.google.common.base.Preconditions; | |
import com.google.common.graph.*; | |
import com.google.common.graph.Graph; | |
import java.util.*; | |
/** | |
* This uses a BFS topological sort with graph depth tracking to sort dependencies into |