You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2019/08/31 18:35:33 UTC

[GitHub] [maven] Tibor17 commented on a change in pull request #281: [MNG-6357] Dependency order should be nearest first

Tibor17 commented on a change in pull request #281: [MNG-6357] Dependency order should be nearest first
URL: https://github.com/apache/maven/pull/281#discussion_r319732885
 
 

 ##########
 File path: maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
 ##########
 @@ -112,6 +113,27 @@ private static String nullify( String string )
     public static void toArtifacts( Collection<org.apache.maven.artifact.Artifact> artifacts,
                                     Collection<? extends DependencyNode> nodes, List<String> trail,
                                     DependencyFilter filter )
+    {
+        Map<Integer, List<org.apache.maven.artifact.Artifact>> artifactsByDepth =
+            new TreeMap<Integer, List<org.apache.maven.artifact.Artifact>>();
 
 Review comment:
   you can use diamond `<>`. It is Java 1.7 feature.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services