Uploaded image for project: 'Tika'
  1. Tika
  2. TIKA-55

ParseUtils.getParser() method variants should have consistent parameter orders.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.1-incubating
    • general
    • None

    Description

      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.

      Attachments

        1. tika55.patch
          1 kB
          Keith Bennett

        Activity

          People

            chrismattmann Chris A. Mattmann
            kbennett Keith Bennett
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: