From 4ad0df2640c100862fa384fd15b145f389560df7 Mon Sep 17 00:00:00 2001
From: akwizgran <akwizgran@users.sourceforge.net>
Date: Thu, 25 Aug 2016 11:57:21 +0100
Subject: [PATCH] Use Briar's IoUtils, not H2's IOUtils.

---
 .../src/org/briarproject/reporting/DevReporterImpl.java       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/briar-core/src/org/briarproject/reporting/DevReporterImpl.java b/briar-core/src/org/briarproject/reporting/DevReporterImpl.java
index 52bab15338..bd7154068c 100644
--- a/briar-core/src/org/briarproject/reporting/DevReporterImpl.java
+++ b/briar-core/src/org/briarproject/reporting/DevReporterImpl.java
@@ -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);
-- 
GitLab