From a9a9b67430b33944b5eefa17cb85b5dd42c8d1fc Mon Sep 17 00:00:00 2001 From: Andre F de Miranda Date: Tue, 2 May 2017 00:25:05 +1000 Subject: [PATCH] NIFI-2616 - Remove 2 unused classes in IdentifyMimeType identified during PR --- .../apache/nifi/processors/standard/IdentifyMimeType.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java index 5965cfd093..8c2bdf9bde 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/IdentifyMimeType.java @@ -52,8 +52,8 @@ import org.apache.tika.mime.MimeTypeException; /** *

- * Attempts to detect the MIME Type of a FlowFile by examining its contents. If the MIME Type is determined, it is added to an attribute with the name mime.type. In addition, mime.extension is set if - * a common file extension is known. + * Attempts to detect the MIME Type of a FlowFile by examining its contents. If the MIME Type is determined, it is added + * to an attribute with the name mime.type. In addition, mime.extension is set if a common file extension is known. *

* *

@@ -83,9 +83,6 @@ public class IdentifyMimeType extends AbstractProcessor { .description("All FlowFiles are routed to success") .build(); - public static final MediaType FLOWFILE_V1 = new MediaType("application", "flowfile-v1"); - public static final MediaType FLOWFILE_V3 = new MediaType("application", "flowfile-v3"); - private Set relationships; private final TikaConfig config;