Skip to content

Commit 1c44798

Browse files
tballisonCopilot
andauthored
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 94784ea commit 1c44798

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tika-core/src/main/java/org/apache/tika/detect/MetadataCharsetDetector.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,9 @@
4040
* HTTP/MIME Content-Type header (e.g. {@code text/html; charset=UTF-8}).</li>
4141
* <li>{@link TikaCoreProperties#CONTENT_TYPE_HINT} — the {@code charset} parameter
4242
* of a content-type a source <em>claimed</em> for the bytes (e.g. an HTML
43-
* {@code <meta>} tag, or a zip entry's UTF-8 (EFS) flag). A hint, not a verdict.</li>
43+
* {@code <meta>} tag, or a zip entry's UTF-8 (EFS) flag). A hint, not a verdict.
44+
* This key is only consulted when {@link MetadataCharsetDetector} is included in
45+
* the active {@link org.apache.tika.detect.EncodingDetector} chain.</li>
4446
* <li>{@link Metadata#CONTENT_ENCODING} — a bare charset label set by parsers
4547
* such as {@code RFC822Parser}, which splits Content-Type into a bare
4648
* media-type key and a separate charset key.</li>

0 commit comments

Comments
 (0)