The following document contains the results of PMD's CPD 4.2.5.
File | Line |
---|---|
org/apache/maven/archiva/dependency/graph/walk/WalkBreadthFirstSearch.java | 62 |
org/apache/maven/archiva/dependency/graph/walk/WalkDepthFirstSearch.java | 69 |
return (Integer) nodeVisitStates.get( node.getArtifact() ); } public Integer getNodeVisitState( ArtifactReference artifact ) { return (Integer) nodeVisitStates.get( artifact ); } public void setNodeVisitState( DependencyGraphNode node, Integer state ) { this.nodeVisitStates.put( node.getArtifact(), state ); } public void setNodeVisitState( ArtifactReference artifact, Integer state ) { this.nodeVisitStates.put( artifact, state ); } private void visitEdge( DependencyGraph graph, DependencyGraphEdge e, DependencyGraphVisitor visitor ) { visitor.discoverEdge( e ); DependencyGraphNode node = graph.getNode( e.getNodeTo() ); if ( getNodeVisitState( node ) == UNSEEN ) { |