Revision: 8405
http://sourceforge.net/p/fudaa/svn/8405
Author: deniger
Date: 2013-05-16 20:12:23 +0000 (Thu, 16 May 2013)
Log Message:
-----------
update pour tests unitaires en //
Modified Paths:
--------------
trunk/soft/fudaa-crue/crue-core/src/main/java/org/fudaa/dodico/crue/common/io/CacheFileInputStream.java
Modified: trunk/soft/fudaa-crue/crue-core/src/main/java/org/fudaa/dodico/crue/common/io/CacheFileInputStream.java
===================================================================
--- trunk/soft/fudaa-crue/crue-core/src/main/java/org/fudaa/dodico/crue/common/io/CacheFileInputStream.java 2013-04-24 06:17:27 UTC (rev 8404)
+++ trunk/soft/fudaa-crue/crue-core/src/main/java/org/fudaa/dodico/crue/common/io/CacheFileInputStream.java 2013-05-16 20:12:23 UTC (rev 8405)
@@ -7,6 +7,7 @@
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
+import java.util.ArrayList;
import java.util.Collection;
import java.util.logging.Level;
import java.util.logging.Logger;
@@ -61,7 +62,7 @@
thread = Thread.currentThread();
} else {
thread = null;
- Collection<FileInputStream> values = inputByFile.values();
+ Collection<FileInputStream> values = new ArrayList<FileInputStream>(inputByFile.values());
for (FileInputStream fileInputStream : values) {
if (fileInputStream != null) {
try {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|