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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.1-incubating
    • Fix Version/s: 0.1-incubating
    • Component/s: general
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: