elharo commented on code in PR #1192:
URL: https://github.com/apache/maven/pull/1192#discussion_r1250759858


##########
api/maven-api-core/src/main/java/org/apache/maven/api/Artifact.java:
##########
@@ -33,7 +33,7 @@ public interface Artifact {
 
     /**
      * Returns a unique identifier for this artifact.
-     * The identifier is composed of groupId, artifactId, version, classifier, 
extension.
+     * The identifier is composed of groupId, artifactId, extension, 
classifier, version.

Review Comment:
   and version



##########
maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java:
##########
@@ -229,7 +228,7 @@ private PluginDescriptor extractPluginDescriptor(Artifact 
pluginArtifact, Plugin
                 File pluginXml = new File(pluginFile, 
getPluginDescriptorLocation());
 
                 if (pluginXml.isFile()) {
-                    try (InputStream is = new BufferedInputStream(new 
FileInputStream(pluginXml))) {
+                    try (InputStream is = 
Files.newInputStream(pluginXml.toPath())) {

Review Comment:
   This is not buffered. Does that matter?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to