This is an automated email from the ASF dual-hosted git repository.
tilman pushed a commit to branch branch_3x
in repository https://gitbox.apache.org/repos/asf/tika.git
The following commit(s) were added to refs/heads/branch_3x by this push:
new 35a3a2ffe TIKA-4524: remove dead code
35a3a2ffe is described below
commit 35a3a2ffe196cd2efbd9c0041cb5f5dae38a103d
Author: Tilman Hausherr <[email protected]>
AuthorDate: Sat Oct 18 13:39:59 2025 +0200
TIKA-4524: remove dead code
---
.../test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java | 2 --
1 file changed, 2 deletions(-)
diff --git
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
index 2054640ef..6ed4e24b5 100644
---
a/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
+++
b/tika-integration-tests/tika-pipes-s3-integration-tests/src/test/java/org/apache/tika/pipes/s3/tests/S3PipeIntegrationTest.java
@@ -21,7 +21,6 @@ import java.io.InputStream;
import java.net.URI;
import java.net.URISyntaxException;
import java.nio.charset.StandardCharsets;
-import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.time.Duration;
import java.time.temporal.ChronoUnit;
@@ -91,7 +90,6 @@ class S3PipeIntegrationTest {
testFiles.add(nextFileName);
String s = "<html><body>body-of-" + nextFileName +
"</body></html>";
byte[] bytes = s.getBytes(StandardCharsets.US_ASCII);
- MessageDigest md = MessageDigest.getInstance("SHA256");
PutObjectRequest request =
PutObjectRequest.builder().bucket(FETCH_BUCKET).key(nextFileName).build();
RequestBody requestBody = RequestBody.fromBytes(bytes);
s3Client.putObject(request, requestBody);