jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1205650 - /jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java
Date Wed, 23 Nov 2011 23:09:18 GMT
Author: sebb
Date: Wed Nov 23 23:09:17 2011
New Revision: 1205650

URL: http://svn.apache.org/viewvc?rev=1205650&view=rev
Log:
Don't swallow IOException

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=1205650&r1=1205649&r2=1205650&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/services/FileServer.java Wed Nov 23 23:09:17 2011
@@ -40,7 +40,6 @@ import org.apache.commons.collections.Ar
 import org.apache.jmeter.gui.JMeterFileFilter;
 import org.apache.jmeter.util.JMeterUtils;
 import org.apache.jorphan.logging.LoggingManager;
-import org.apache.jorphan.util.JOrphanUtils;
 import org.apache.log.Logger;
 
 /**
@@ -395,7 +394,7 @@ public class FileServer {
     private void closeFile(String name, FileEntry fileEntry) throws IOException {
         if (fileEntry != null && fileEntry.inputOutputObject != null) {
             log.info("Close: "+name);
-            JOrphanUtils.closeQuietly(fileEntry.inputOutputObject);
+            fileEntry.inputOutputObject.close();
             fileEntry.inputOutputObject = null;
         }
     }



Mime
View raw message