NIFI-13224 Replaced deprecated commons-compress IOUtils.toByteArray

Replaced deprecated commons-compress IOUtils.toByteArray with commons-io IOUtils.toByteArray

This closes #8825

Signed-off-by: David Handermann <exceptionfactory@apache.org>
This commit is contained in:
dan-s1 2024-05-13 20:03:03 +00:00 committed by exceptionfactory
parent 92ed464f5d
commit 2a45cae588
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ package org.apache.nifi.elasticsearch.integration;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.tuple.Pair;
import org.apache.http.HttpEntity;
import org.apache.http.entity.ContentType;

View File

@ -55,7 +55,7 @@ import org.apache.avro.generic.GenericFixed;
import org.apache.avro.generic.GenericRecord;
import org.apache.avro.specific.SpecificRecord;
import org.apache.avro.util.Utf8;
import org.apache.commons.compress.utils.IOUtils;
import org.apache.commons.io.IOUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.tuple.ImmutablePair;
import org.apache.commons.lang3.tuple.Pair;