Use Briar's IoUtils, not H2's IOUtils.

This commit is contained in:
akwizgran
2016-08-25 11:57:21 +01:00
parent 00240bfa57
commit 4ad0df2640

View File

@@ -7,8 +7,8 @@ import net.sourceforge.jsocks.socks.SocksSocket;
import org.briarproject.api.crypto.CryptoComponent;
import org.briarproject.api.reporting.DevConfig;
import org.briarproject.api.reporting.DevReporter;
import org.briarproject.util.IoUtils;
import org.briarproject.util.StringUtils;
import org.h2.util.IOUtils;
import java.io.Closeable;
import java.io.File;
@@ -87,7 +87,7 @@ class DevReporterImpl implements DevReporter {
Socket s = connectToDevelopers(socksPort);
out = s.getOutputStream();
in = new FileInputStream(f);
IOUtils.copy(in, out);
IoUtils.copy(in, out);
f.delete();
} catch (IOException e) {
LOG.log(WARNING, "Failed to send reports", e);