jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1210093 - /jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
Date Sun, 04 Dec 2011 11:52:25 GMT
Author: pmouawad
Date: Sun Dec  4 11:52:25 2011
New Revision: 1210093

URL: http://svn.apache.org/viewvc?rev=1210093&view=rev
Log:
Bug 52266 - Code:Inconsistent synchronization

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java?rev=1210093&r1=1210092&r2=1210093&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java Sun Dec  4 11:52:25 2011
@@ -100,7 +100,7 @@ public class FileServer {
     /**
      * Resets the current base to {@link #DEFAULT_BASE}.
      */
-    public void resetBase() {
+    public synchronized void resetBase() {
         base = new File(DEFAULT_BASE);
         log.info("Reset base to'"+base+"'");
     }



Mime
View raw message