eolivelli commented on a change in pull request #67:
URL: https://github.com/apache/maven-resolver/pull/67#discussion_r475243212



##########
File path: 
maven-resolver-impl/src/main/java/org/eclipse/aether/internal/impl/TrackingFileManager.java
##########
@@ -45,35 +42,28 @@
 
     public Properties read( File file )
     {
-        synchronized ( getLock( file ) )
+        FileInputStream stream = null;
+        try
         {
-            FileLock lock = null;
-            FileInputStream stream = null;
-            try
+            if ( !file.exists() )

Review comment:
       If we catch NoSuchFileException below we can save this extra metadata 
check




----------------------------------------------------------------
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:
[email protected]


Reply via email to