You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Subhajit Das (Jira)" <ji...@apache.org> on 2021/03/18 19:26:00 UTC

[jira] [Closed] (TIKA-3326) Code cleaning and Javadoc

     [ https://issues.apache.org/jira/browse/TIKA-3326?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Subhajit Das closed TIKA-3326.
------------------------------

> Code cleaning and Javadoc
> -------------------------
>
>                 Key: TIKA-3326
>                 URL: https://issues.apache.org/jira/browse/TIKA-3326
>             Project: Tika
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 2.0.0, 1.25
>            Reporter: Subhajit Das
>            Priority: Trivial
>
> TikaResource Uses  String key : httpHeaders.keySet() to iterate over header keys, and then inside processHeaderConfig(...), the first header value is fetched, and stored in "val" variable, for further usage.
>  
> As, this method (processHeaderConfig) should be logically called (and practically) per header value pair, it would be cleaner to extract the header value to outside.
>  
> Additionally, few missing javadocs added. Updated javadocs for changed methods as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)