You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/05/11 13:00:53 UTC

[GitHub] jglick commented on a change in pull request #502: #270552: AbstractProjectClassPathImpl subtypes generally need to process Artifact.file to handle timestamped snapshots properly

jglick commented on a change in pull request #502: #270552: AbstractProjectClassPathImpl subtypes generally need to process Artifact.file to handle timestamped snapshots properly
URL: https://github.com/apache/incubator-netbeans/pull/502#discussion_r187606449
 
 

 ##########
 File path: maven/src/org/netbeans/modules/maven/classpath/AbstractProjectClassPathImpl.java
 ##########
 @@ -206,4 +211,38 @@ public void removePropertyChangeListener(PropertyChangeListener propertyChangeLi
         return project.hashCode() ^ getClass().hashCode();
     }
 
+    /**
+     * Like {@link Artifact#getFile} but when a timestamped snapshot is locally downloaded, uses that instead.
+     */
+    protected static File getFile(Artifact art) {
+        File f = art.getFile();
 
 Review comment:
   Ack. Have not had a moment to work on this yet.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists