Skip to content

Commit

Permalink
Minor fixes addressing MR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fdfea committed Nov 3, 2022
1 parent 7ba5624 commit 6b38a24
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -131,21 +131,21 @@ public List<List<DependencyNode>> getConflictedVersionNumbers( List<String> incl
List<List<DependencyNode>> output = new ArrayList<>();
for ( List<DependencyNode> nodes : idsToNode.values() )
{
if ( includes != null && !includes.isEmpty() )
List<DependencyNode> filteredNodes = nodes;
if ( formattedIncludes != null && !formattedIncludes.isEmpty() )
{
List<DependencyNode> filteredNodes = new ArrayList<>();
filteredNodes = new ArrayList<>();
for ( DependencyNode node : nodes )
{
if ( includeArtifact( node.getArtifact(), formattedIncludes, formattedExcludes ) )
{
filteredNodes.add( node );
}
}
nodes = filteredNodes;
}
if ( containsConflicts( nodes ) )
if ( containsConflicts( filteredNodes ) )
{
output.add( nodes );
output.add( filteredNodes );
}
}
return output;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# specific language governing permissions and limitations
# under the License.

invoker.buildResult=failure
invoker.buildResult=failure

0 comments on commit 6b38a24

Please sign in to comment.