This is an automated email from the ASF dual-hosted git repository.

ndipiazza pushed a commit to branch TIKA-4252-fetch-tuple-missing-metadata-4
in repository https://gitbox.apache.org/repos/asf/tika.git


The following commit(s) were added to 
refs/heads/TIKA-4252-fetch-tuple-missing-metadata-4 by this push:
     new 92bd16dce TIKA-4252: checkstyle
92bd16dce is described below

commit 92bd16dce3bcb58ed79d44efa1831c351a6ef158
Author: Nicholas DiPiazza <[email protected]>
AuthorDate: Wed May 22 22:51:58 2024 -0500

    TIKA-4252: checkstyle
---
 .../java/org/apache/tika/pipes/FetchEmitTuple.java | 24 ++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/tika-core/src/main/java/org/apache/tika/pipes/FetchEmitTuple.java 
b/tika-core/src/main/java/org/apache/tika/pipes/FetchEmitTuple.java
index 24ab45174..b9bde54bc 100644
--- a/tika-core/src/main/java/org/apache/tika/pipes/FetchEmitTuple.java
+++ b/tika-core/src/main/java/org/apache/tika/pipes/FetchEmitTuple.java
@@ -54,16 +54,19 @@ public class FetchEmitTuple implements Serializable {
         this(id, fetchKey, emitKey, userMetadata, 
HandlerConfig.DEFAULT_HANDLER_CONFIG, DEFAULT_ON_PARSE_EXCEPTION);
     }
 
-    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig, ON_PARSE_EXCEPTION 
onParseException) {
+    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig,
+                          ON_PARSE_EXCEPTION onParseException) {
         this(id, fetchKey, emitKey, userMetadata, handlerConfig, 
onParseException, EmbeddedDocumentBytesConfig.SKIP);
     }
 
 
-    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig, ON_PARSE_EXCEPTION 
onParseException, EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig) {
+    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig,
+                          ON_PARSE_EXCEPTION onParseException, 
EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig) {
         this(id, fetchKey, emitKey, userMetadata, handlerConfig, 
onParseException, embeddedDocumentBytesConfig, new Metadata());
     }
 
-    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig, ON_PARSE_EXCEPTION 
onParseException, EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig, 
Metadata fetchRequestMetadata) {
+    public FetchEmitTuple(String id, FetchKey fetchKey, EmitKey emitKey, 
Metadata userMetadata, HandlerConfig handlerConfig,
+                          ON_PARSE_EXCEPTION onParseException, 
EmbeddedDocumentBytesConfig embeddedDocumentBytesConfig, Metadata 
fetchRequestMetadata) {
         this.id = id;
         this.fetchKey = fetchKey;
         this.emitKey = emitKey;
@@ -123,17 +126,26 @@ public class FetchEmitTuple implements Serializable {
             return false;
         }
         FetchEmitTuple that = (FetchEmitTuple) o;
-        return Objects.equals(id, that.id) && Objects.equals(fetchKey, 
that.fetchKey) && Objects.equals(emitKey, that.emitKey) && 
Objects.equals(userMetadata, that.userMetadata) && onParseException == 
that.onParseException && Objects.equals(handlerConfig, that.handlerConfig) && 
Objects.equals(fetchRequestMetadata, that.fetchRequestMetadata) &&
+        return Objects.equals(id, that.id) && Objects.equals(fetchKey, 
that.fetchKey) &&
+                Objects.equals(emitKey, that.emitKey) &&
+                Objects.equals(userMetadata, that.userMetadata) &&
+                onParseException == that.onParseException &&
+                Objects.equals(handlerConfig, that.handlerConfig) &&
+                Objects.equals(fetchRequestMetadata, 
that.fetchRequestMetadata) &&
                 Objects.equals(embeddedDocumentBytesConfig, 
that.embeddedDocumentBytesConfig);
     }
 
     @Override
     public int hashCode() {
-        return Objects.hash(id, fetchKey, emitKey, userMetadata, 
onParseException, handlerConfig, fetchRequestMetadata, 
embeddedDocumentBytesConfig);
+        return Objects.hash(id, fetchKey, emitKey, userMetadata,
+                onParseException, handlerConfig, fetchRequestMetadata, 
embeddedDocumentBytesConfig);
     }
 
     @Override
     public String toString() {
-        return "FetchEmitTuple{" + "id='" + id + '\'' + ", fetchKey=" + 
fetchKey + ", emitKey=" + emitKey + ", userMetadata=" + userMetadata + ", 
onParseException=" + onParseException + ", handlerConfig=" + handlerConfig + ", 
fetchRequestMetadata=" + fetchRequestMetadata + ", 
embeddedDocumentBytesConfig=" + embeddedDocumentBytesConfig + '}';
+        return "FetchEmitTuple{" + "id='" + id + '\'' + ", fetchKey=" + 
fetchKey + ", emitKey=" +
+                emitKey + ", userMetadata=" + userMetadata + ", 
onParseException=" + onParseException +
+                ", handlerConfig=" + handlerConfig + ", fetchRequestMetadata=" 
+ fetchRequestMetadata +
+                ", embeddedDocumentBytesConfig=" + embeddedDocumentBytesConfig 
+ '}';
     }
 }

Reply via email to