commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgo...@apache.org
Subject svn commit: r1037966 - /commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
Date Tue, 23 Nov 2010 02:01:56 GMT
Author: rgoers
Date: Tue Nov 23 02:01:56 2010
New Revision: 1037966

URL: http://svn.apache.org/viewvc?rev=1037966&view=rev
Log:
Remove extraneous synchronization

Modified:
    commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java

Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java?rev=1037966&r1=1037965&r2=1037966&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
(original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractFileSystem.java
Tue Nov 23 02:01:56 2010
@@ -314,7 +314,7 @@ public abstract class AbstractFileSystem
      * @return The located FileObject or null if none could be located.
      * @throws FileSystemException if an error occurs.
      */
-    public synchronized FileObject resolveFile(final FileName name) throws FileSystemException
+    public FileObject resolveFile(final FileName name) throws FileSystemException
     {
         return resolveFile(name, true);
     }
@@ -343,10 +343,7 @@ public abstract class AbstractFileSystem
         {
             try
             {
-                synchronized (this)
-                {
-                    file = createFile(name);
-                }
+                file = createFile(name);
             }
             catch (Exception e)
             {



Mime
View raw message