ParseUtils.getParser() method variants should have consistent parameter orders.
-------------------------------------------------------------------------------
Key: TIKA-55
URL:
https://issues.apache.org/jira/browse/TIKA-55 Project: Tika
Issue Type: Improvement
Components: general
Affects Versions: 0.1-incubator
Reporter: Keith R. Bennett
Priority: Minor
Fix For: 0.1-incubator
There are the following getParser() methods in ParseUtils:
public static Parser getParser(TikaConfig config, String mimeType)
public static Parser getParser(URL documentUrl, TikaConfig config)
public static Parser getParser(File documentFile, TikaConfig config)
The TikaConfig argument should be the same argument number in all of them. I suggest reversing the parameters in the first one in the list.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.